v3 -> v4: 1. Two new patches, patch# 4 and 5, have been added. These patches change the error return in nested_check_guest_cregs_dregs_msrs() and nested_vmx_check_vmentry_postreqs(). 2. In patch# 6 (which was patch# 4 in v4), names of some of the parameters and variables have been expanded. [PATCH 1/6 v4][KVM nVMX]: Check "load IA32_PAT" VM-exit control on vmentry [PATCH 2/6 v4][KVM nVMX]: Check "load IA32_PAT" VM-entry control on vmentry [PATCH 3/6 v4][KVM nVMX]: Move the checks for Guest Control Registers and [PATCH 4/6 v4][KVM nVMX]: nested_check_guest_cregs_dregs_msrs() should return [PATCH 5/6 v4][KVM nVMX]: nested_vmx_check_vmentry_postreqs() should return [PATCH 6/6 v4][kvm-unit-test nVMX]: Check "load IA32_PAT" on vmentry of L2 guests arch/x86/kvm/vmx/nested.c | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) Krish Sadhukhan (5): nVMX: Check "load IA32_PAT" VM-exit control on vmentry nVMX: Check "load IA32_PAT" VM-entry control on vmentry nVMX: Move the checks for Guest Control Registers and Guest MSRs to a separate function nVMX: nested_check_guest_cregs_dregs_msrs() should return -EINVAL for error conditions nVMX: nested_vmx_check_vmentry_postreqs() should return VMX_EXIT_REASONS_FAILED_VMENTRY | EXIT_REASON_INVALID_STATE for error conditions x86/vmx_tests.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) Krish Sadhukhan (1): nVMX: Check "load IA32_PAT" on vmentry of L2 guests