v1 -> v2: 1. The 'CONFIG_X86_64' conditional has been removed in patch# 1. 2. Patch# 2 is new. It re-orders the existing functions according to how the checks are ordered in the Intel SDM. 3. Patch# 3 is new. It renames the function 'vmx_controls_test' and adds a new parameter to it so that it can now be used for checking the Host State Area on vmlaunch. 4. Patch# 4 has added negative test cases where the addresses have been converted to non-canonical form in order to invoke failure. [PATCH 1/4][KVM nVMX]: Add a vmentry check for HOST_SYSENTER_ESP and [PATCH 2/4][kvm-unit-test nVMX]: Move test_vm_entry_ctls() below test_vm_exit_ctls() [PATCH 3/4][kvm-unit-test nVMX]: Change 'test_vmx_controls' to 'test_vmlaunch' and [PATCH 4/4][kvm-unit-test nVMX]: Test HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields arch/x86/kvm/vmx/nested.c | 5 +++++ 1 file changed, 5 insertions(+) Krish Sadhukhan (1): KVM nVMX: Add a vmentry check for HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields x86/unittests.cfg | 6 ++ x86/vmx_tests.c | 241 +++++++++++++++++++++++++++++++++++------------------ 2 files changed, 168 insertions(+), 79 deletions(-) Krish Sadhukhan (3): nVMX: Move test_vm_entry_ctls() below test_vm_exit_ctls() nVMX: Change 'test_vmx_controls' to 'test_vmlaunch' and add a parameter for expected error nVMX: Test HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields on vmentry of L2 guests