diff options
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 351da40807c5..42bb225ad6c1 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -441,7 +441,7 @@ struct descriptor_table { | |||
441 | unsigned long base; | 441 | unsigned long base; |
442 | } __attribute__((packed)); | 442 | } __attribute__((packed)); |
443 | 443 | ||
444 | struct kvm_arch_ops { | 444 | struct kvm_x86_ops { |
445 | int (*cpu_has_kvm_support)(void); /* __init */ | 445 | int (*cpu_has_kvm_support)(void); /* __init */ |
446 | int (*disabled_by_bios)(void); /* __init */ | 446 | int (*disabled_by_bios)(void); /* __init */ |
447 | void (*hardware_enable)(void *dummy); /* __init */ | 447 | void (*hardware_enable)(void *dummy); /* __init */ |
@@ -499,7 +499,7 @@ struct kvm_arch_ops { | |||
499 | void (*set_irq)(struct kvm_vcpu *vcpu, int vec); | 499 | void (*set_irq)(struct kvm_vcpu *vcpu, int vec); |
500 | }; | 500 | }; |
501 | 501 | ||
502 | extern struct kvm_arch_ops *kvm_arch_ops; | 502 | extern struct kvm_x86_ops *kvm_x86_ops; |
503 | 503 | ||
504 | /* The guest did something we don't support. */ | 504 | /* The guest did something we don't support. */ |
505 | #define pr_unimpl(vcpu, fmt, ...) \ | 505 | #define pr_unimpl(vcpu, fmt, ...) \ |
@@ -515,9 +515,9 @@ extern struct kvm_arch_ops *kvm_arch_ops; | |||
515 | int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id); | 515 | int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id); |
516 | void kvm_vcpu_uninit(struct kvm_vcpu *vcpu); | 516 | void kvm_vcpu_uninit(struct kvm_vcpu *vcpu); |
517 | 517 | ||
518 | int kvm_init_arch(struct kvm_arch_ops *ops, unsigned int vcpu_size, | 518 | int kvm_init_x86(struct kvm_x86_ops *ops, unsigned int vcpu_size, |
519 | struct module *module); | 519 | struct module *module); |
520 | void kvm_exit_arch(void); | 520 | void kvm_exit_x86(void); |
521 | 521 | ||
522 | int kvm_mmu_module_init(void); | 522 | int kvm_mmu_module_init(void); |
523 | void kvm_mmu_module_exit(void); | 523 | void kvm_mmu_module_exit(void); |