v1 -> v2: 1. A KVM fix has been added via patch# 1. This fix is required to test the unsetting of "unrestricted guest" VM-execution control in vmcs12. 2. The kvm-unit-test has been enhanced by adding more combinations of the conditions mentioned in the vmentry checks being tested here. [PATCH 1/2 v2] KVM: nVMX: KVM needs to unset "unrestricted guest" VM-execution [PATCH 2/2 v2] kvm-unit-tests: nVMX: Test Selector and Base Address fields of Guest Segment arch/x86/kvm/vmx/nested.c | 3 +++ 1 file changed, 3 insertions(+) Krish Sadhukhan (1): nVMX: KVM needs to unset "unrestricted guest" VM-execution control in vmcs02 if vmcs12 doesn't set it Makefile | 2 +- lib/x86/processor.h | 1 + x86/vmx_tests.c | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 203 insertions(+), 1 deletion(-) Krish Sadhukhan (1): nVMX: Test Selector and Base Address fields of Guest Segment Registers on vmentry of nested guests