v2 -> v3: 1. In patch# 3, the name of the funcion has been changed from 'nested_check_guest_ctrl_dbg_regs_msrs' to 'nested_check_guest_cregs_dregs_msrs'. A commit message has also been added. 2. In patch# 4, the name of the function 'test_pat_bytes' has been changed to 'test_pat' and, the name and type of some of its arguments have also been changed. A comment has been added to the code as well as to the commit message, about why we are restricting the outer loop up to 8 only. [PATCH 1/4 v3][KVM nVMX]: Check "load IA32_PAT" VM-exit control on vmentry [PATCH 2/4 v3][KVM nVMX]: Check "load IA32_PAT" VM-entry control on vmentry [PATCH 3/4 v3][KVM nVMX]: Move the checks for Guest Control Registers and [PATCH 4/4 v3][kvm-unit-test nVMX]: Check "load IA32_PAT" on vmentry of L2 guests x86/vmx_tests.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) Krish Sadhukhan (1): nVMX: Check "load IA32_PAT" on vmentry of L2 guests arch/x86/kvm/vmx/nested.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) Krish Sadhukhan (3): 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