aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 3d4b71a94440..33f77b044c52 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1653,6 +1653,11 @@ static void svm_check_processor_compat(void *rtn)
1653 *(int *)rtn = 0; 1653 *(int *)rtn = 0;
1654} 1654}
1655 1655
1656static bool svm_cpu_has_accelerated_tpr(void)
1657{
1658 return false;
1659}
1660
1656static struct kvm_x86_ops svm_x86_ops = { 1661static struct kvm_x86_ops svm_x86_ops = {
1657 .cpu_has_kvm_support = has_svm, 1662 .cpu_has_kvm_support = has_svm,
1658 .disabled_by_bios = is_disabled, 1663 .disabled_by_bios = is_disabled,
@@ -1661,6 +1666,7 @@ static struct kvm_x86_ops svm_x86_ops = {
1661 .check_processor_compatibility = svm_check_processor_compat, 1666 .check_processor_compatibility = svm_check_processor_compat,
1662 .hardware_enable = svm_hardware_enable, 1667 .hardware_enable = svm_hardware_enable,
1663 .hardware_disable = svm_hardware_disable, 1668 .hardware_disable = svm_hardware_disable,
1669 .cpu_has_accelerated_tpr = svm_cpu_has_accelerated_tpr,
1664 1670
1665 .vcpu_create = svm_create_vcpu, 1671 .vcpu_create = svm_create_vcpu,
1666 .vcpu_free = svm_free_vcpu, 1672 .vcpu_free = svm_free_vcpu,