Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2020 09:50:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 246168] Ubuntu 20.04 KVM / QEMU Failure with nested FreeBSD bhyve
Message-ID:  <bug-246168-27103-9H9I6DqnXw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246168-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246168-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246168

--- Comment #10 from Peter Grehan <grehan@FreeBSD.org> ---
I used a laptop-class CPU when trying the repro (core i5-8250U). In particu=
lar,
there is a difference in VT-x features as reported by the L1 guest:

  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID

vs your system:

  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr

The one of interest here is that KVM is emulating APIC-virtualization
(VID,PostIntr).

One thing to try is to disable this feature in the L1 guest. In
/boot/loader.conf, put an entry=20

hw.vmm.vmx.use_apic_vid=3D0

After (re)booting the L1 guest, the status of this parameter can be checked
with:

# sysctl hw.vmm.vmx.cap.virtual_interrupt_delivery
hw.vmm.vmx.cap.virtual_interrupt_delivery: 0          <- should be zero

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246168-27103-9H9I6DqnXw>