aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-26 06:57:04 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 11:01:20 -0500
commit774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b (patch)
tree0395ee65292f99bd43ab2cd07beb554d99cb096f /include/asm-x86/kvm_host.h
parentb93463aa59d67b21b4921e30bd5c5dcc7c35ffbd (diff)
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/kvm_host.h')
-rw-r--r--include/asm-x86/kvm_host.h1
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 {
329 void (*check_processor_compatibility)(void *rtn); 329 void (*check_processor_compatibility)(void *rtn);
330 int (*hardware_setup)(void); /* __init */ 330 int (*hardware_setup)(void); /* __init */
331 void (*hardware_unsetup)(void); /* __exit */ 331 void (*hardware_unsetup)(void); /* __exit */
332 bool (*cpu_has_accelerated_tpr)(void);
332 333
333 /* Create, but do not attach this VCPU */ 334 /* Create, but do not attach this VCPU */
334 struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned id); 335 struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned id);