projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa8c11
)
i386: cpu: add missing CPUID[EAX=7,ECX=0] flag names
author
Eduardo Habkost
<ehabkost@redhat.com>
Tue, 9 Oct 2012 14:03:59 +0000
(11:03 -0300)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 31 Oct 2012 01:39:49 +0000
(23:39 -0200)
This makes QEMU recognize the following CPU flag names:
Flags | Corresponding KVM kernel commit
-----------------+----------------------------------------
FSGSBASE |
176f61da82435eae09cc96f70b530d1ba0746b8b
AVX2, BMI1, BMI2 |
fb215366b3c7320ac25dca766a0152df16534932
HLE, RTM |
83c529151ab0d4a813e3f6a3e293fff75d468519
INVPCID |
ad756a1603c5fac207758faaac7f01c34c9d0b7b
ERMS |
a01c8f9b4e266df1d7166d23216f2060648f862d
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/cpu.c
patch
|
blob
|
history
diff --git
a/target-i386/cpu.c
b/target-i386/cpu.c
index
22d91ed
..
7c726fc
100644
(file)
--- a/
target-i386/cpu.c
+++ b/
target-i386/cpu.c
@@
-106,8
+106,8
@@
static const char *svm_feature_name[] = {
};
static const char *cpuid_7_0_ebx_feature_name[] = {
-
NULL, NULL, NULL, NULL, NULL, NULL
, NULL, "smep",
-
NULL, NULL, NULL, NULL
, NULL, NULL, NULL, NULL,
+
"fsgsbase", NULL, NULL, "bmi1", "hle", "avx2"
, NULL, "smep",
+
"bmi2", "erms", "invpcid", "rtm"
, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, "smap", NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
};