]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
Revert "x86/vvmx: add a shadow vmcs check to vmlaunch"
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Mar 2017 08:30:41 +0000 (09:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Mar 2017 08:30:41 +0000 (09:30 +0100)
This reverts commit b22ee98c4ecc4e7c827451dee01181529df4d26c,
causing a regression.

xen/arch/x86/hvm/vmx/vvmx.c

index 173ec7455e65501f77a7ef86269e1b72849544d2..3017849177b3e4e43156fadb4fa1cc7c4a32fb3d 100644 (file)
@@ -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 )
     {