Skip to content

Commit

Permalink
target-i386: Add missing kvm cpuid feature name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Don Slutz authored and matosatti committed Oct 31, 2012
1 parent 811a8ae commit c3d3980
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions target-i386/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit c3d3980

Please sign in to comment.