|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [HVM][SVM] Do not advertise FFXSR feature
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1170957702 0
# Node ID 0cbf1586a4325cceef93816fdd0353bd23e74e46
# Parent 355c740d133090e9ea6784b75946ea9890a8836b
[HVM][SVM] Do not advertise FFXSR feature.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/svm/svm.c | 2 ++
xen/include/asm-x86/cpufeature.h | 1 +
2 files changed, 3 insertions(+)
diff -r 355c740d1330 -r 0cbf1586a432 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Thu Feb 08 17:46:14 2007 +0000
+++ b/xen/arch/x86/hvm/svm/svm.c Thu Feb 08 18:01:42 2007 +0000
@@ -1199,6 +1199,8 @@ static void svm_vmexit_do_cpuid(struct v
/* So far, we do not support 3DNow for the guest. */
clear_bit(X86_FEATURE_3DNOW & 31, &edx);
clear_bit(X86_FEATURE_3DNOWEXT & 31, &edx);
+ /* no FFXSR instructions feature. */
+ clear_bit(X86_FEATURE_FFXSR & 31, &edx);
}
else if ( input == 0x80000007 || input == 0x8000000A )
{
diff -r 355c740d1330 -r 0cbf1586a432 xen/include/asm-x86/cpufeature.h
--- a/xen/include/asm-x86/cpufeature.h Thu Feb 08 17:46:14 2007 +0000
+++ b/xen/include/asm-x86/cpufeature.h Thu Feb 08 18:01:42 2007 +0000
@@ -93,6 +93,7 @@
#define X86_FEATURE_LAHF_LM (6*32+ 0) /* LAHF/SAHF in long mode */
#define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */
#define X86_FEATURE_SVME (6*32+ 2) /* Secure Virtual Machine */
+#define X86_FEATURE_FFXSR (6*32+25) /* FFXSR instruction optimizations */
#define cpu_has(c, bit) test_bit(bit, (c)->x86_capability)
#define boot_cpu_has(bit) test_bit(bit, boot_cpu_data.x86_capability)
_______________________________________________
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] [HVM][SVM] Do not advertise FFXSR feature.,
Xen patchbot-unstable <=
|
|
|
|
|