Skip to contentSkip to conversation

target-i386: restore 'cvt16' CPUID feature

PATCH In review Igor Mammedov 2 participants 2 messages Nov 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-i386: restore 'cvt16' CPUID feature

commit c8acc380: target-i386/cpu: Name new CPUID bits by mistake removed CPUID feature while adding new features, restore it.

CC Eduardo Habkost <[email protected]>
---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/cpu.c +1 -1
index a67958e..562d1d8 100644
@@ -89,7 +89,7 @@ static const char *ext3_feature_name[] = {
     "cr8legacy" /* AMD AltMovCr8 */, "abm", "sse4a", "misalignsse",
     "3dnowprefetch", "osvw", "ibs", "xop",
     "skinit", "wdt", NULL, "lwp",
-    "fma4", "tce", NULL, "nodeid_msr",
+    "fma4", "tce", "cvt16", "nodeid_msr",
     NULL, "tbm", "topoext", "perfctr_core",
     "perfctr_nb", NULL, NULL, NULL,
     NULL, NULL, NULL, NULL,
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 3 lines · Igor Mammedov

commit c8acc380: target-i386/cpu: Name new CPUID bits by mistake removed CPUID feature while adding new features, restore it.

The feature name was removed on purpose. It was never supported by the KVM kernel code in any kernel version. See
http://article.gmane.org/gmane.comp.emulators.qemu/176694

Quoted 23 lines
CC Eduardo Habkost <[email protected]>
---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/cpu.c +1 -1
index a67958e..562d1d8 100644
@@ -89,7 +89,7 @@ static const char *ext3_feature_name[] = {
     "cr8legacy" /* AMD AltMovCr8 */, "abm", "sse4a", "misalignsse",
     "3dnowprefetch", "osvw", "ibs", "xop",
     "skinit", "wdt", NULL, "lwp",
-    "fma4", "tce", NULL, "nodeid_msr",
+    "fma4", "tce", "cvt16", "nodeid_msr",
     NULL, "tbm", "topoext", "perfctr_core",
     "perfctr_nb", NULL, NULL, NULL,
     NULL, NULL, NULL, NULL,
Signature · 1 line
1.7.11.7
Signature · 1 line
Eduardo