Re: embedded emulation: bhyve + vt-x on amd fx-8320

From: Pete Wright <pete_at_nomadlogic.org>
Date: Mon, 24 Apr 2023 03:24:17 UTC
On Sun, Apr 23, 2023 at 02:25:44AM +0200, Tomek CEDRO wrote:
> 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?

I don't think nested hardware virt is supported by bhyve at the moment.
a reading of the man pages seems to confirm this as well.  i've done para-virt
nesting before but thats all in software and very slow.

you might want to see if you can use a new'ish QEMU though to emulate the hardware
needed to get android studio running.

-p

-- 
Pete Wright
pete@nomadlogic.org