Some new cpu features were added to qemu. This patch adds some of them
to our CPU map.
---
to ease review, here's an excerpt from qemu.git/target-i386/cpuid.c to ease the
review:
static const char *ext3_feature_name[] = {
lahf_lm /* AMD LahfSahf */, cmp_legacy, svm, extapic /* AMD
ExtApicSpace */,
cr8legacy /* AMD AltMovCr8 */, abm, sse4a, misalignsse,
3dnowprefetch, osvw, ibs, xop,
skinit, wdt, NULL, NULL,
fma4, NULL, cvt16, nodeid_msr,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
};
(each line corresponds to one order of magnitude in the hex representation)
src/cpu/cpu_map.xml | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 3e6810f..4ce3131 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -236,12 +236,27 @@
feature name='osvw' !-- CPUID_EXT3_OSVW --
cpuid function='0x8001' ecx='0x0200'/
/feature
+feature name='ibs'
+ cpuid function='0x8001' ecx='0x0400'/
+/feature
+feature name='xop'
+ cpuid function='0x8001' ecx='0x0800'/
+/feature
feature name='skinit' !-- CPUID_EXT3_SKINIT --
cpuid function='0x8001' ecx='0x1000'/
/feature
feature name='wdt'
cpuid function='0x8001' ecx='0x2000'/
/feature
+feature name='fma4'
+ cpuid function='0x8001' ecx='0x0001'/
+/feature
+feature name='cvt16'
+ cpuid function='0x8001' ecx='0x0004'/
+/feature
+feature name='nodeid_msr'
+ cpuid function='0x8001' ecx='0x0008'/
+/feature
!-- models --
model name='486'
--
1.7.3.4
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list