[PATCH 2/4 v2][kvm-unit-test nVMX]: Move test_vm_entry_ctls() below test_vm_exit_ctls()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 .. to align the checks according to the order in Intel SDM.

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
---
 x86/vmx_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index ee0c9ff..9a3cdee 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -4923,8 +4923,8 @@ static void vmx_controls_test(void)
 	vmcs_write(GUEST_RFLAGS, 0);
 
 	test_vm_execution_ctls();
-	test_vm_entry_ctls();
 	test_vm_exit_ctls();
+	test_vm_entry_ctls();
 }
 
 static bool valid_vmcs_for_vmentry(void)
-- 
2.17.2




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux