aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_cpufeature.h
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-07 18:24:12 +0000
committerKeir Fraser <keir@xen.org>2010-12-07 18:24:12 +0000
commit21c4d089ba2a236dcf33a06222070bd6c60c6e3d (patch)
tree272264b493a3c1f3b355896607a78a623037eadd /tools/libxc/xc_cpufeature.h
parent91ddbc059f3f563cd38e82095f19facf6e2257af (diff)
downloadxen-21c4d089ba2a236dcf33a06222070bd6c60c6e3d.tar.gz
xen-21c4d089ba2a236dcf33a06222070bd6c60c6e3d.tar.bz2
xen-21c4d089ba2a236dcf33a06222070bd6c60c6e3d.zip
x86 hvm: x2APIC emulation
This patch would enable Xen to handle x2APIC MSR accessing of HVM guest, which is faster(avoid decoding of MMIO accessing). The credit comes to Gleb Natapov who complete the work for KVM. Have tested with 4 vcpus guest, with/without x2apic support. From: Sheng Yang <sheng.yang@intel.com> Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xc_cpufeature.h')
-rw-r--r--tools/libxc/xc_cpufeature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xc_cpufeature.h b/tools/libxc/xc_cpufeature.h
index 96991a6813..b1731d2f4a 100644
--- a/tools/libxc/xc_cpufeature.h
+++ b/tools/libxc/xc_cpufeature.h
@@ -98,6 +98,7 @@
#define X86_FEATURE_DCA (4*32+18) /* Direct Cache Access */
#define X86_FEATURE_SSE4_1 (4*32+19) /* Streaming SIMD Extensions 4.1 */
#define X86_FEATURE_SSE4_2 (4*32+20) /* Streaming SIMD Extensions 4.2 */
+#define X86_FEATURE_X2APIC (4*32+21) /* x2APIC */
#define X86_FEATURE_POPCNT (4*32+23) /* POPCNT instruction */
#define X86_FEATURE_AES (4*32+25) /* AES acceleration instructions */
#define X86_FEATURE_XSAVE (4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV */