x86/hvm: add support for pcommit instruction
authorHaozhong Zhang <haozhong.zhang@intel.com>
Tue, 12 Jan 2016 10:29:25 +0000 (11:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Jan 2016 10:29:25 +0000 (11:29 +0100)
commitcfacce340608be5f94ce0c8f424487b63c3d5399
tree84ab0b10992187829ad707130f40ca5e720c2955
parent3cb82a561382466208db50d41d6401e2cc4819dd
x86/hvm: add support for pcommit instruction

Pass PCOMMIT CPU feature into HVM domain. Currently, we do not intercept
pcommit instruction for L1 guest, and allow L1 to intercept pcommit
instruction for L2 guest.

The specification of pcommit instruction can be found in
https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com> for tools bits
tools/libxc/xc_cpufeature.h
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vmx.h