x86/HVM: correct the SMEP logic for HVM_CR0_GUEST_RESERVED_BITS
authorFeng Wu <feng.wu@intel.com>
Mon, 28 Apr 2014 10:47:24 +0000 (12:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 28 Apr 2014 10:47:24 +0000 (12:47 +0200)
commit31ee951a3bee6e7cc21f94f900fe989e3701a79a
tree1bcd83f2b5080b6e6a9d410ae2bb8dc5b8ade465
parent82488001608bea1b87313de7888652f11037b085
x86/HVM: correct the SMEP logic for HVM_CR0_GUEST_RESERVED_BITS

When checking the SMEP feature for HVM guests, we should check the
VCPU instead of the host CPU.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/hvm/hvm.h