diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-11-16 05:05:55 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 15:53:03 (GMT) |
commit | 8b0067913d9d0439d4cf3c1f7314ba71fc7b2958 (patch) | |
tree | a8de1898124085d7f4157ee6812413f65900af37 /drivers/kvm/kvm.h | |
parent | e08aa78ae5747c6e1dc525e8a40f23c2ea61d757 (diff) | |
download | linux-fsl-qoriq-8b0067913d9d0439d4cf3c1f7314ba71fc7b2958.tar.xz |
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 a7be073..e34e246 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -642,6 +642,9 @@ void kvm_arch_destroy_vm(struct kvm *kvm); int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu); +int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, + struct kvm_translation *tr); + int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs); int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, |