Patch 1: Adds KVM check for GUEST_DEBUGCTL Patch 2: Adds KVM check for GUEST_DR7 Patch 3: Fixes a bug in __enter_guest() in kvm-unit-test source Patch 4: Adds kvm-unit-tests related to patch# 1 and 2 [PATCH 1/4] KVM: nVMX: Check GUEST_DEBUGCTL on vmentry of nested guests [PATCH 2/4] KVM: nVMX: Check GUEST_DR7 on vmentry of nested guests [PATCH 3/4] kvm-unit-test: nVMX: __enter_guest() should not set "launched" state [PATCH 4/4] kvm-unit-test: nVMX: Check GUEST_DEBUGCTL and GUEST_DR7 on vmentry of arch/x86/kvm/vmx/nested.c | 10 ++++++++++ arch/x86/kvm/x86.c | 2 +- arch/x86/kvm/x86.h | 12 ++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) Krish Sadhukhan (2): nVMX: Check GUEST_DEBUGCTL on vmentry of nested guests nVMX: Check GUEST_DR7 on vmentry of nested guests x86/vmx.c | 9 +++++---- x86/vmx_tests.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 4 deletions(-) Krish Sadhukhan (2): nVMX: __enter_guest() should not set "launched" state when VM-entry fails nVMX: Check GUEST_DEBUGCTL and GUEST_DR7 on vmentry of nested guests