The first patche enforces vmentry rules on NMI-related controls when entering L2 guests. The second patch adds a corresponding kvm-unit-test. [PATCH nVMX 1/2] x86: Enforce NMI controls on vmentry of L2 guests [PATCH nVMX TEST 2/2] x86: Add test for checking NMI controls on vmentry of L2 x86/vmx_tests.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) Krish Sadhukhan (1): x86: Add test for checking NMI controls on vmentry of L2 guests arch/x86/kvm/vmx.c | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) Krish Sadhukhan (1): x86: Enforce NMI controls on vmentry of L2 guests