]> xenbits.xensource.com Git - xen.git/commit
x86/vvmx: add a shadow vmcs check to vmlaunch
authorSergey Dyasli <sergey.dyasli@citrix.com>
Tue, 14 Mar 2017 11:25:47 +0000 (12:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 11:25:47 +0000 (12:25 +0100)
commitb22ee98c4ecc4e7c827451dee01181529df4d26c
tree6223b65803b60dff4818a1e33b784f1a06ed8fb7
parentdc05c0ceeb8609b6d60f6a117a0192e9160946b8
x86/vvmx: add a shadow vmcs check to vmlaunch

Intel SDM states that if the current VMCS is a shadow VMCS,
VMFailInvalid occurs and control passes to the next instruction.

Implement such behaviour for nested vmlaunch.

Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c