diff options
author | Glauber Costa <glommer@redhat.com> | 2011-03-23 12:40:42 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:56:57 -0400 |
commit | 3291892450e670c4f170e271cd0c4b63d5a8e41a (patch) | |
tree | 6a426d87811d2a25b0c32fa2dee66e493f33fc41 /arch/x86/kvm/x86.c | |
parent | 654f06fc651b01782015185e5b049197255463a3 (diff) |
KVM: expose async pf through our standard mechanism
As Avi recently mentioned, the new standard mechanism for exposing features
is KVM_GET_SUPPORTED_CPUID, not spamming CAPs. For some reason async pf
missed that.
So expose async_pf here.
Signed-off-by: Glauber Costa <glommer@redhat.com>
CC: Gleb Natapov <gleb@redhat.com>
CC: Avi Kivity <avi@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 3a557eefd2fb..a38fb9bb342b 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -2418,6 +2418,7 @@ static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function, | |||
2418 | entry->eax = (1 << KVM_FEATURE_CLOCKSOURCE) | | 2418 | entry->eax = (1 << KVM_FEATURE_CLOCKSOURCE) | |
2419 | (1 << KVM_FEATURE_NOP_IO_DELAY) | | 2419 | (1 << KVM_FEATURE_NOP_IO_DELAY) | |
2420 | (1 << KVM_FEATURE_CLOCKSOURCE2) | | 2420 | (1 << KVM_FEATURE_CLOCKSOURCE2) | |
2421 | (1 << KVM_FEATURE_ASYNC_PF) | | ||
2421 | (1 << KVM_FEATURE_CLOCKSOURCE_STABLE_BIT); | 2422 | (1 << KVM_FEATURE_CLOCKSOURCE_STABLE_BIT); |
2422 | entry->ebx = 0; | 2423 | entry->ebx = 0; |
2423 | entry->ecx = 0; | 2424 | entry->ecx = 0; |