diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-11-14 07:39:31 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:02 -0500 |
commit | cb498ea2ce1d3f3c0bc0a2522241dca10263e437 (patch) | |
tree | 255eeaa3581a79ceb77772c1350faa95ce4706a6 /drivers/kvm/kvm.h | |
parent | e9b11c17552afe684e9e5d0444309a3ddf410116 (diff) |
KVM: Portability: Combine kvm_init and kvm_init_x86
Will be called once arch module registers itself.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index bca07c6d046..5e7be150466 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -495,9 +495,9 @@ void vcpu_put(struct kvm_vcpu *vcpu); | |||
495 | void decache_vcpus_on_cpu(int cpu); | 495 | void decache_vcpus_on_cpu(int cpu); |
496 | 496 | ||
497 | 497 | ||
498 | int kvm_init_x86(struct kvm_x86_ops *ops, unsigned int vcpu_size, | 498 | int kvm_init(struct kvm_x86_ops *ops, unsigned int vcpu_size, |
499 | struct module *module); | 499 | struct module *module); |
500 | void kvm_exit_x86(void); | 500 | void kvm_exit(void); |
501 | 501 | ||
502 | int kvm_mmu_module_init(void); | 502 | int kvm_mmu_module_init(void); |
503 | void kvm_mmu_module_exit(void); | 503 | void kvm_mmu_module_exit(void); |