summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/mmu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-09-10 15:30:53 (GMT)
committerAvi Kivity <avi@redhat.com>2010-10-24 08:52:38 (GMT)
commit3d06b8bfd44ec421c386241f7c5af66c8200cbf4 (patch)
tree3b9c13bbc974a711db264d60384e869c94f8a6cd /arch/x86/kvm/mmu.h
parent2329d46d213d0721dafae18db29f54b196f11468 (diff)
downloadlinux-3d06b8bfd44ec421c386241f7c5af66c8200cbf4.tar.xz
KVM: MMU: Introduce kvm_read_nested_guest_page()
This patch introduces the kvm_read_guest_page_x86 function which reads from the physical memory of the guest. If the guest is running in guest-mode itself with nested paging enabled it will read from the guest's guest physical memory instead. The patch also changes changes the code to use this function where it is necessary. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.h')
0 files changed, 0 insertions, 0 deletions