Patch# 1 creates a wrapper for checking if the NX bit in MSR_EFER is enabled. It is used in patch# 2. Patch# 2 adds tests for "Load IA32_EFER" VM-exit control. [PATCH 1/2] kvm-unit-test: x86: Add a wrapper to check if the CPU supports NX bit in [PATCH 2/2] kvm-unit-test: nVMX: Test "Load IA32_EFER" VM-exit control on vmentry of lib/x86/processor.h | 8 ++++ x86/vmexit.c | 2 +- x86/vmx_tests.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 1 deletion(-) Krish Sadhukhan (2): x86: Add a wrapper to check if the CPU supports NX bit in MSR_EFER nVMX: Test "Load IA32_EFER" VM-exit control on vmentry of nested guests