diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-26 14:57:04 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 19:01:20 +0300 |
commit | 774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b (patch) | |
tree | 0395ee65292f99bd43ab2cd07beb554d99cb096f /include | |
parent | b93463aa59d67b21b4921e30bd5c5dcc7c35ffbd (diff) | |
download | linux-774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b.tar.xz |
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')
-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); |