From fc3637e9af9a301d92695999299a3e9a8458c3c1 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 1 Nov 2018 17:37:48 +0000 Subject: [PATCH] x86/vvmx: Don't call vmsucceed() at the end of virtual_vmexit() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Roger Pau Monné Reviewed-by: Sergey Dyasli Acked-by: Kevin Tian --- xen/arch/x86/hvm/vmx/vvmx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c index 41c4e2fb82..a72b519ce0 100644 --- a/xen/arch/x86/hvm/vmx/vvmx.c +++ b/xen/arch/x86/hvm/vmx/vvmx.c @@ -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) -- 2.30.2