Re: embedded emulation: bhyve + vt-x on amd fx-8320
- Reply: Pete Wright : "Re: embedded emulation: bhyve + vt-x on amd fx-8320"
- In reply to: Dale Scott : "Re: embedded emulation: bhyve + vt-x on amd fx-8320"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Apr 2023 00:25:44 UTC
On Sat, Apr 22, 2023 at 11:16 PM Dale Scott wrote: > From the handbook https://docs.freebsd.org/en/books/handbook/virtualization/#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 Features2 line for AMD® processors or EPT and UG on the VT-x line for Intel® 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 :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info