[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] X86: Prepare PCID/INVPCID for hvm
# HG changeset patch # User Liu, Jinsong <jinsong.liu@xxxxxxxxx> # Date 1323170910 0 # Node ID ff988cea61ea0a0142bb525bd616517602b19cc9 # Parent d313582d4fa2157332f1d50e599aebca36c41b3b X86: Prepare PCID/INVPCID for hvm This patch is used to prepare exposing PCID/INVPCID features to hvm guest. The specific exposure result depend on hvm paging mode (hap/shadow), which would be handled at next patch. Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r d313582d4fa2 -r ff988cea61ea tools/libxc/xc_cpuid_x86.c --- a/tools/libxc/xc_cpuid_x86.c Tue Dec 06 11:28:04 2011 +0000 +++ b/tools/libxc/xc_cpuid_x86.c Tue Dec 06 11:28:30 2011 +0000 @@ -310,6 +310,7 @@ bitmaskof(X86_FEATURE_SSSE3) | bitmaskof(X86_FEATURE_FMA) | bitmaskof(X86_FEATURE_CX16) | + bitmaskof(X86_FEATURE_PCID) | bitmaskof(X86_FEATURE_SSE4_1) | bitmaskof(X86_FEATURE_SSE4_2) | bitmaskof(X86_FEATURE_MOVBE) | @@ -365,6 +366,7 @@ bitmaskof(X86_FEATURE_SMEP) | bitmaskof(X86_FEATURE_BMI2) | bitmaskof(X86_FEATURE_ERMS) | + bitmaskof(X86_FEATURE_INVPCID) | bitmaskof(X86_FEATURE_FSGSBASE)); } else regs[1] = 0; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |