Patch# 1: Adds a new parameter to test_vmcs_page_* functions so that alignment size can be passed instead of using a fixed alignment of page size (1024K). This change is needed by patch# because the alignement of "VM-exit MSR-store" address 16 bytes. Patch# 2: Adds a new parameter to test_vmcs_page_values() function so that various bit ranges in a memory address can be tested instead of using a fixed bit range of 0 through 63. This change is needed by patch# 3 because bit range [0:4] of "VM-exit MSR-store" address can not be set. Patch# 3: Adds a unit test for testing the VM-exit MSR-store address on vmentry of L2 guests. [kvm-unit-test 1/3] KVM nVMX: test_vmcs_page_* functions need to [kvm-unit-test 2/3] KVM nVMX: test_vmcs_page_values() needs to accept [kvm-unit-test 3/3] KVM nVMX: Check VM-exit MSR-store address on x86/vmx_tests.c | 119 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 99 insertions(+), 20 deletions(-) Krish Sadhukhan (3): KVM nVMX: test_vmcs_page_* functions need to accept alignment size as a parameter KVM nVMX: test_vmcs_page_values() needs to accept a bit range KVM nVMX: Check VM-exit MSR-store address on vmentry of L2 guests