diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-11-16 00:05:55 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:03 -0500 |
commit | 8b0067913d9d0439d4cf3c1f7314ba71fc7b2958 (patch) | |
tree | a8de1898124085d7f4157ee6812413f65900af37 /drivers/kvm/kvm.h | |
parent | e08aa78ae5747c6e1dc525e8a40f23c2ea61d757 (diff) |
KVM: Portability: Make kvm_vcpu_ioctl_translate arch dependent
Move kvm_vcpu_ioctl_translate to arch, since mmu would be put under arch.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index a7be0733bc48..e34e246eafec 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -642,6 +642,9 @@ void kvm_arch_destroy_vm(struct kvm *kvm); | |||
642 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); | 642 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); |
643 | int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); | 643 | int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); |
644 | 644 | ||
645 | int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, | ||
646 | struct kvm_translation *tr); | ||
647 | |||
645 | int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); | 648 | int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); |
646 | int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); | 649 | int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); |
647 | int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, | 650 | int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, |