diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-09-10 11:30:53 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:52:38 -0400 |
commit | 3d06b8bfd44ec421c386241f7c5af66c8200cbf4 (patch) | |
tree | 3b9c13bbc974a711db264d60384e869c94f8a6cd /arch/x86/kvm/mmu.h | |
parent | 2329d46d213d0721dafae18db29f54b196f11468 (diff) |
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