diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-26 13:57:04 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 18:01:20 +0200 |
commit | 774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b (patch) | |
tree | 0395ee65292f99bd43ab2cd07beb554d99cb096f /include/asm-x86 | |
parent | b93463aa59d67b21b4921e30bd5c5dcc7c35ffbd (diff) | |
download | linux-3.10-774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b.tar.gz linux-3.10-774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b.tar.bz2 linux-3.10-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 6e649af08d1..44b89259f6c 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); |