|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH]tools: Fix xc_cpuid_hvm_policy to avoid guest CPUID f
To: |
"xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] [PATCH]tools: Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing |
From: |
"Wei, Gang" <gang.wei@xxxxxxxxx> |
Date: |
Thu, 9 Dec 2010 10:59:47 +0800 |
Accept-language: |
zh-CN, en-US |
Acceptlanguage: |
zh-CN, en-US |
Cc: |
Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx> |
Delivery-date: |
Wed, 08 Dec 2010 19:01:06 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcuXTSOotlY6TVBcQfiNyXsSATBplg== |
Thread-topic: |
[PATCH]tools: Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing |
Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing.
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
diff -r a483f1a08352 tools/libxc/xc_cpuid_x86.c
--- a/tools/libxc/xc_cpuid_x86.c Thu Dec 09 04:25:40 2010 +0800
+++ b/tools/libxc/xc_cpuid_x86.c Thu Dec 09 04:58:37 2010 +0800
@@ -222,9 +222,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);
guest_cpuid_fix.patch
Description: guest_cpuid_fix.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH]tools: Fix xc_cpuid_hvm_policy to avoid guest CPUID feature missing,
Wei, Gang <=
|
|
|
|
|