commit | 3d06b8bfd44ec421c386241f7c5af66c8200cbf4 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 10 17:30:53 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:38 2010 +0200 |
tree | 3b9c13bbc974a711db264d60384e869c94f8a6cd | |
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>