v2 -> v3: The following changes have been made to patch# 1: i) Commit message body mentions the reason for doing this check in software. i) The CONFIG_X86_64 guard in nested_vmx_check_guest_state() is removed. ii) The data type of the parameter to kvm_dr7_valid() is 'unsigned long'. [PATCH 1/2 v3] KVM: nVMX: Check GUEST_DR7 on vmentry of nested guests [PATCH 2/2 v3] kvm-unit-test: nVMX: Test GUEST_DR7 on vmentry of nested guests arch/x86/kvm/vmx/nested.c | 4 ++++ arch/x86/kvm/x86.c | 2 +- arch/x86/kvm/x86.h | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) Krish Sadhukhan (1): nVMX: Check GUEST_DR7 on vmentry of nested guests x86/vmx_tests.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Krish Sadhukhan (1): nVMX: Test GUEST_DR7 on vmentry of nested guests