aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 440cacfda89c..57a6055ffb0b 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -2548,7 +2548,7 @@ static void __init vmx_check_processor_compat(void *rtn)
2548 } 2548 }
2549} 2549}
2550 2550
2551static struct kvm_arch_ops vmx_arch_ops = { 2551static struct kvm_x86_ops vmx_x86_ops = {
2552 .cpu_has_kvm_support = cpu_has_kvm_support, 2552 .cpu_has_kvm_support = cpu_has_kvm_support,
2553 .disabled_by_bios = vmx_disabled_by_bios, 2553 .disabled_by_bios = vmx_disabled_by_bios,
2554 .hardware_setup = hardware_setup, 2554 .hardware_setup = hardware_setup,
@@ -2627,7 +2627,7 @@ static int __init vmx_init(void)
2627 memset(iova, 0xff, PAGE_SIZE); 2627 memset(iova, 0xff, PAGE_SIZE);
2628 kunmap(vmx_io_bitmap_b); 2628 kunmap(vmx_io_bitmap_b);
2629 2629
2630 r = kvm_init_arch(&vmx_arch_ops, sizeof(struct vcpu_vmx), THIS_MODULE); 2630 r = kvm_init_x86(&vmx_x86_ops, sizeof(struct vcpu_vmx), THIS_MODULE);
2631 if (r) 2631 if (r)
2632 goto out1; 2632 goto out1;
2633 2633
@@ -2645,7 +2645,7 @@ static void __exit vmx_exit(void)
2645 __free_page(vmx_io_bitmap_b); 2645 __free_page(vmx_io_bitmap_b);
2646 __free_page(vmx_io_bitmap_a); 2646 __free_page(vmx_io_bitmap_a);
2647 2647
2648 kvm_exit_arch(); 2648 kvm_exit_x86();
2649} 2649}
2650 2650
2651module_init(vmx_init) 2651module_init(vmx_init)