diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-26 12:57:04 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:01:20 +0100 |
commit | 774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b (patch) | |
tree | 0395ee65292f99bd43ab2cd07beb554d99cb096f /include/asm-x86 | |
parent | KVM: Accelerated apic support (diff) | |
download | linux-774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b.tar.xz linux-774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b.zip |
KVM: Disable vapic support on Intel machines with FlexPriority
FlexPriority accelerates the tpr without any patching.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 6e649af08d19..44b89259f6c4 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h @@ -329,6 +329,7 @@ struct kvm_x86_ops { void (*check_processor_compatibility)(void *rtn); int (*hardware_setup)(void); /* __init */ void (*hardware_unsetup)(void); /* __exit */ + bool (*cpu_has_accelerated_tpr)(void); /* Create, but do not attach this VCPU */ struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned id); |