]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Add kvm_read_guest_page_mmu function
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:51 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:37 +0000 (10:52 +0200)
commit6b10795ec0b6a5014ef7a3e61c9a71d37e8710d2
treea1f3c9e47e5c05a83d0d507d0616f810234c80a4
parentf5b756722126878f31d8abe352406c711f2302ce
KVM: X86: Add kvm_read_guest_page_mmu function

This patch adds a function which can read from the guests
physical memory or from the guest's guest physical memory.
This will be used in the two-dimensional page table walker.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c