vvmx: check the operand of L1 vmxon
authorHaozhong Zhang <haozhong.zhang@intel.com>
Thu, 15 Dec 2016 10:12:06 +0000 (11:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Dec 2016 10:12:06 +0000 (11:12 +0100)
commit08fac63ec0b8430c0a73fae26afc6f4298fd282d
tree6b117c72901513ace2b9e86268f808f5648cbfe3
parentc88da9ec885252e775e1d65022d0ef4dd44dfc81
vvmx: check the operand of L1 vmxon

Check whether the operand of L1 vmxon is a valid VMXON region address
and whether the VMXON region at that address contains a valid revision
ID.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c