summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorDon Slutz <Don@CloudSwitch.com>2012-10-12 15:43:23 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-30 23:39:49 -0200
commitc3d3980794124508e0bd4eaa406d7fa0e832a221 (patch)
tree30c4d60773a0067b9db1f9e398f59669db5ec84e /target-i386
parent811a8ae09e179d0a4d8cde13ba9f72e7c782c9ff (diff)
downloadqemu-c3d3980794124508e0bd4eaa406d7fa0e832a221.tar.gz
qemu-c3d3980794124508e0bd4eaa406d7fa0e832a221.tar.bz2
qemu-c3d3980794124508e0bd4eaa406d7fa0e832a221.zip
target-i386: Add missing kvm cpuid feature name
Currently "-cpu host,-kvmclock,-kvm_nopiodelay,-kvm_mmu" does not turn off all bits in CPUID 0x40000001 EAX. The missing ones is KVM_FEATURE_STEAL_TIME. This adds the name kvm_steal_time. Signed-off-by: Don Slutz <Don@CloudSwitch.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 7c726fc0b1..4417d6abed 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -88,10 +88,14 @@ static const char *ext3_feature_name[] = {
};
static const char *kvm_feature_name[] = {
- "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_pv_eoi", NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock",
+ "kvm_asyncpf", "kvm_steal_time", "kvm_pv_eoi", NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
};
static const char *svm_feature_name[] = {