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>
This commit is contained in:

committed by
Avi Kivity

parent
0d8d2bd4f2
commit
cbdd1bea2a
@@ -1741,7 +1741,7 @@ static void svm_check_processor_compat(void *rtn)
|
||||
*(int *)rtn = 0;
|
||||
}
|
||||
|
||||
static struct kvm_arch_ops svm_arch_ops = {
|
||||
static struct kvm_x86_ops svm_x86_ops = {
|
||||
.cpu_has_kvm_support = has_svm,
|
||||
.disabled_by_bios = is_disabled,
|
||||
.hardware_setup = svm_hardware_setup,
|
||||
@@ -1794,13 +1794,13 @@ static struct kvm_arch_ops svm_arch_ops = {
|
||||
|
||||
static int __init svm_init(void)
|
||||
{
|
||||
return kvm_init_arch(&svm_arch_ops, sizeof(struct vcpu_svm),
|
||||
return kvm_init_x86(&svm_x86_ops, sizeof(struct vcpu_svm),
|
||||
THIS_MODULE);
|
||||
}
|
||||
|
||||
static void __exit svm_exit(void)
|
||||
{
|
||||
kvm_exit_arch();
|
||||
kvm_exit_x86();
|
||||
}
|
||||
|
||||
module_init(svm_init)
|
||||
|
Reference in New Issue
Block a user