aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-07-27 16:30:44 +0200
committerAvi Kivity <avi@redhat.com>2009-09-10 08:33:18 +0300
commit852e3c19ac64b7c3912e8efe42d3ce090ebc0161 (patch)
treecc4fd27e59002191dc09ccf6a6e4006c66c3df38 /arch/x86/include/asm
parentKVM: MMU: rename is_largepage_backed to mapping_level (diff)
downloadlinux-dev-852e3c19ac64b7c3912e8efe42d3ce090ebc0161.tar.xz
linux-dev-852e3c19ac64b7c3912e8efe42d3ce090ebc0161.zip
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>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index e210b218df44..e09dc26d96bd 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -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;