From: Jan Beulich Date: Fri, 17 Mar 2017 08:30:41 +0000 (+0100) Subject: Revert "x86/vvmx: add a shadow vmcs check to vmlaunch" X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2472 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=99df591e3ad0a283bc7051f9efc4f9d7244d7979;p=xen.git Revert "x86/vvmx: add a shadow vmcs check to vmlaunch" This reverts commit b22ee98c4ecc4e7c827451dee01181529df4d26c, causing a regression. --- diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c index 173ec7455e..3017849177 100644 --- a/xen/arch/x86/hvm/vmx/vvmx.c +++ b/xen/arch/x86/hvm/vmx/vvmx.c @@ -1630,13 +1630,6 @@ int nvmx_handle_vmlaunch(struct cpu_user_regs *regs) return X86EMUL_OKAY; } - /* Check that guest is not using a shadow vmcs for vmentry */ - if ( nvmx->shadow_vmcs ) - { - vmfail_invalid(regs); - return X86EMUL_OKAY; - } - __vmread(GUEST_INTERRUPTIBILITY_INFO, &intr_shadow); if ( intr_shadow & VMX_INTR_SHADOW_MOV_SS ) {