Date: Thu, 10 Sep 2020 10:36:06 +1000 From: Peter Grehan <grehan@freebsd.org> To: Pete Wright <pete@nomadlogic.org> Cc: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: Nested Virtualization Under KVM Hypervisor Message-ID: <5eacd0a5-89bd-cc98-6c5a-d5490e33b100@freebsd.org> In-Reply-To: <e819886a-82d1-7fad-c341-b3e2bba50aed@nomadlogic.org> References: <e819886a-82d1-7fad-c341-b3e2bba50aed@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pete, > =C2=A0 VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,Post= Intr That's just a warning: bhyve will attempt to enable VT-x on module=20 load, and will only fail if BIOS has locked the disable. Do you know if the vmm module fails to load ? (there will be an error=20 in syslog "vmx_init: VMX operation disabled by BIOS") > Hypervisor: Origin =3D "KVMKVMKVM" > real memory=C2=A0 =3D 34359738368 (32768 MB) > avail memory =3D 33365536768 (31819 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: <BOCHS=C2=A0 BXPCAPIC> >=20 > They did verify that VT-x pass through *is* enabled as mentioned above=20 > (they shared with me the config file snippet on their end to verify),=20 > and they did extensive testing on their end and were not able to get=20 > FreeBSD to detect VT-x as being enabled. >=20 > I pinged them asking for more info on which Linux kernel their=20 > hypervisors are running to see if I can help debug this on my end.=C2=A0= I=20 > have two questions: >=20 > 1) is anyone else doing nested virtualization under KVM hypervisors.=C2= =A0 i=20 > am confident that this is possible, but am asking for confirmation on=20 > this :) Yes: A bug report=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 ... had the resolution that a kernel > 4.10 has to be used, and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246168 ... requires posted interrupts to be disabled. > 2) Are there any other requirements that FreeBSD requires to run Bhyve=20 > nested under KVM? No - nested has been enabled by default with KVM for quite a while now. later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5eacd0a5-89bd-cc98-6c5a-d5490e33b100>