KVM: MMU: More struct kvm_vcpu -> struct kvm cleanups
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 11 Oct 2007 01:08:41 +0000 (20:08 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:51 +0000 (17:52 +0200)
commit4a4c99248713e878e1e2880015d01049aec805f3
treea847d398faafef4ccbd44de13cfe5d1040fd1df1
parentf67a46f4aa1212b38696ac6b6a82b4323cea61aa
KVM: MMU: More struct kvm_vcpu -> struct kvm cleanups

This time, the biggest change is gpa_to_hpa. The translation of GPA to HPA does
not depend on the VCPU state unlike GVA to GPA so there's no need to pass in
the kvm_vcpu.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h