Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2023 20:24:17 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Tomek CEDRO <tomek@cedro.info>
Cc:        Dale Scott <dalescott@shaw.ca>,  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:  <zmood3bqlrxenkekdyffsufoxw4iazqvwp6upz5jqy4n2pacm3@4qhgwvam4j2x>
In-Reply-To: <CAFYkXjnS5Ln=QDQADHv8%2B07NsaKwgamhSkb8qFDERg8RQz0-ZQ@mail.gmail.com>
References:  <CAFYkXjng502kFLCuzEepo1dWSF7w-oo2nJagoKh5ShSiR8n3jQ@mail.gmail.com> <CAFYkXjkFEh6r%2B%2BiE7GmQuaxUN6LJvYM13ttnp1tHW-22bugGHw@mail.gmail.com> <1033603027.10889563.1682198162191.JavaMail.zimbra@shaw.ca> <CAFYkXjnS5Ln=QDQADHv8%2B07NsaKwgamhSkb8qFDERg8RQz0-ZQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zmood3bqlrxenkekdyffsufoxw4iazqvwp6upz5jqy4n2pacm3>