[2/4,v3,kvm-unit-test,nVMX] : Move test_vm_entry_ctls() below test_vm_exit_ctls()
diff mbox series

Message ID 20190207190533.12438-3-krish.sadhukhan@oracle.com
State New
Headers show
Series
  • [1/4,v3,nVMX] : Add a vmentry check for HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields
Related show

Commit Message

Krish Sadhukhan Feb. 7, 2019, 7:05 p.m. UTC
.. to align the checks according to the order in Intel SDM.

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
---
 x86/vmx_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean Christopherson Feb. 12, 2019, 4:02 p.m. UTC | #1
On Thu, Feb 07, 2019 at 02:05:31PM -0500, Krish Sadhukhan wrote:
>  .. to align the checks according to the order in Intel SDM.
> 
> Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
> Reviewed-by: Jim Mattson <jmattson@google.com>

Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>

Patch
diff mbox series

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)