[SRU Bionic 0/1] LP: #1872401 - nested KVM pauses L1

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Thu Dec 3 20:33:36 UTC 2020


[Impact]
When running kvm-unit-tests under a guest, it will be paused, requiring a
reset. When running the same test on a host (vmx_nm_test), it will fail.

[Test case]
Grab kvm-unit-tests, build it and run:

TESTNAME=vmx TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -append "vmx_nm_test"

If done inside a guest, when the host runs the bionic 4.15 kernel, the guest
will pause.

[Potential regressions]
Nested KVM could stop working. Floating point could stop working on KVM
guests, though the code that relied on this was already removed from
Bionic.

Jim Mattson (1):
  KVM: nVMX: Always reflect #NM VM-exits to L1

 arch/x86/kvm/vmx.c | 8 --------
 1 file changed, 8 deletions(-)

-- 
2.27.0




More information about the kernel-team mailing list