KVM: Disable vapic support on Intel machines with FlexPriority
FlexPriority accelerates the tpr without any patching. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
@ -684,9 +684,11 @@ int kvm_dev_ioctl_check_extension(long ext)
|
||||
case KVM_CAP_USER_MEMORY:
|
||||
case KVM_CAP_SET_TSS_ADDR:
|
||||
case KVM_CAP_EXT_CPUID:
|
||||
case KVM_CAP_VAPIC:
|
||||
r = 1;
|
||||
break;
|
||||
case KVM_CAP_VAPIC:
|
||||
r = !kvm_x86_ops->cpu_has_accelerated_tpr();
|
||||
break;
|
||||
default:
|
||||
r = 0;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user