diff options
author | Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> | 2007-09-09 08:41:59 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:27 -0400 |
commit | cbdd1bea2a2dce4c0b45c5f0122c150d9f07f0bc (patch) | |
tree | c01443051868880733c2973abdd59c1d82fdd243 /drivers/kvm/vmx.c | |
parent | 0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73 (diff) |
KVM: Rename kvm_arch_ops to kvm_x86_ops
This patch just renames the current (misnamed) _arch namings to _x86 to
ensure better readability when a real arch layer takes place.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r-- | drivers/kvm/vmx.c | 6 |
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 | ||
2551 | static struct kvm_arch_ops vmx_arch_ops = { | 2551 | static 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 | ||
2651 | module_init(vmx_init) | 2651 | module_init(vmx_init) |