|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix xc_cpuid_hvm_policy to avoid guest CP
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1291883644 0
# Node ID 84a72f957fe9e1a5af3dfb8f53334faa555e22f8
# Parent 45b705c5fe490fc1e51ca1792993997841304f27
Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing.
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
tools/libxc/xc_cpuid_x86.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 45b705c5fe49 -r 84a72f957fe9 tools/libxc/xc_cpuid_x86.c
--- a/tools/libxc/xc_cpuid_x86.c Thu Dec 09 08:30:30 2010 +0000
+++ b/tools/libxc/xc_cpuid_x86.c Thu Dec 09 08:34:04 2010 +0000
@@ -204,9 +204,9 @@ static void xc_cpuid_hvm_policy(
bitmaskof(X86_FEATURE_SSE4_2) |
bitmaskof(X86_FEATURE_POPCNT) |
bitmaskof(X86_FEATURE_AES) |
- (xsave_supported)?
+ (xsave_supported ?
(bitmaskof(X86_FEATURE_AVX) |
- bitmaskof(X86_FEATURE_XSAVE)) : 0);
+ bitmaskof(X86_FEATURE_XSAVE)) : 0));
regs[2] |= (bitmaskof(X86_FEATURE_HYPERVISOR) |
bitmaskof(X86_FEATURE_X2APIC));
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing.,
Xen patchbot-unstable <=
|
|
|
|
|