]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/vvmx: Don't call vmsucceed() at the end of virtual_vmexit()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Nov 2018 17:37:48 +0000 (17:37 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Nov 2018 13:46:59 +0000 (13:46 +0000)
The correct value for RFLAGS is established earlier in the function, and a
successful vmexit logically discards the previous executing context.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c

index 41c4e2fb82b1896aa19326307ee3f4b37b71fc08..a72b519ce0a8247043e2309f8a93e89a537d27e1 100644 (file)
@@ -1371,7 +1371,6 @@ static void virtual_vmexit(struct cpu_user_regs *regs)
         nvmx_update_apicv(v);
 
     nvcpu->nv_vmswitch_in_progress = 0;
-    vmsucceed(regs);
 }
 
 static void nvmx_eptp_update(void)