KVM: MMU: make direct mapping paths aware of mapping levels

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Joerg Roedel
2009-07-27 16:30:44 +02:00
committed by Avi Kivity
parent d25797b24c
commit 852e3c19ac
3 changed files with 53 additions and 38 deletions

View File

@@ -315,7 +315,7 @@ struct kvm_vcpu_arch {
struct {
gfn_t gfn; /* presumed gfn during guest pte update */
pfn_t pfn; /* pfn corresponding to that gfn */
int largepage;
int level;
unsigned long mmu_seq;
} update_pte;