diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 5277084f3a35..827bc2774e73 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -1798,11 +1798,17 @@ svm_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) | |||
1798 | hypercall[3] = 0xc3; | 1798 | hypercall[3] = 0xc3; |
1799 | } | 1799 | } |
1800 | 1800 | ||
1801 | static void svm_check_processor_compat(void *rtn) | ||
1802 | { | ||
1803 | *(int *)rtn = 0; | ||
1804 | } | ||
1805 | |||
1801 | static struct kvm_arch_ops svm_arch_ops = { | 1806 | static struct kvm_arch_ops svm_arch_ops = { |
1802 | .cpu_has_kvm_support = has_svm, | 1807 | .cpu_has_kvm_support = has_svm, |
1803 | .disabled_by_bios = is_disabled, | 1808 | .disabled_by_bios = is_disabled, |
1804 | .hardware_setup = svm_hardware_setup, | 1809 | .hardware_setup = svm_hardware_setup, |
1805 | .hardware_unsetup = svm_hardware_unsetup, | 1810 | .hardware_unsetup = svm_hardware_unsetup, |
1811 | .check_processor_compatibility = svm_check_processor_compat, | ||
1806 | .hardware_enable = svm_hardware_enable, | 1812 | .hardware_enable = svm_hardware_enable, |
1807 | .hardware_disable = svm_hardware_disable, | 1813 | .hardware_disable = svm_hardware_disable, |
1808 | 1814 | ||