Date: Sun, 23 Apr 2023 02:25:44 +0200 From: Tomek CEDRO <tomek@cedro.info> To: Dale Scott <dalescott@shaw.ca> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-emulation@freebsd.org Subject: Re: embedded emulation: bhyve + vt-x on amd fx-8320 Message-ID: <CAFYkXjnS5Ln=QDQADHv8%2B07NsaKwgamhSkb8qFDERg8RQz0-ZQ@mail.gmail.com> In-Reply-To: <1033603027.10889563.1682198162191.JavaMail.zimbra@shaw.ca> References: <CAFYkXjng502kFLCuzEepo1dWSF7w-oo2nJagoKh5ShSiR8n3jQ@mail.gmail.com> <CAFYkXjkFEh6r%2B%2BiE7GmQuaxUN6LJvYM13ttnp1tHW-22bugGHw@mail.gmail.com> <1033603027.10889563.1682198162191.JavaMail.zimbra@shaw.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 22, 2023 at 11:16=E2=80=AFPM Dale Scott wrote: > From the handbook https://docs.freebsd.org/en/books/handbook/virtualizati= on/#virtualization-host-bhyve > > "The easiest way to tell if a processor supports bhyve is to run dmesg or= look in /var/run/dmesg.boot for the POPCNT processor feature flag on the F= eatures2 line for AMD=C2=AE processors or EPT and UG on the VT-x line for I= ntel=C2=AE processors." > > Unfortunately it seems you might be out of luck. Well, on FreeBSD I am able to start VM with both vbox and bhyve.. but the problem is with that "NESTED VIRTUALIZATION" (this seems to be the proper name) that does not seem to work. So I did setup a, yuck, windoze, just to see in practice if "nested virtualization" works on other OS on the same hardware. I did install windoze, then VBox, then created Linux Debian 11 virtual machine, then installed Android Studio on that vm, then launched Virtual Android Device and IT WORKED! o_O So my AMD FX-8320 CPU seems to support "nested virtualization" (its called VT-D for Intel and AMD-V for AMD). Question is why Nested Virtualization does not work on FreeBSD? Should I set it up somehow? Is it supported here at all? Any hints appreciated :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnS5Ln=QDQADHv8%2B07NsaKwgamhSkb8qFDERg8RQz0-ZQ>