summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-19 17:25:53 +0300
committerAvi Kivity <avi@redhat.com>2010-05-17 12:18:03 +0300
commit87bc3bf972af0585ba5415aebbc8bd09b6a2ee94 (patch)
treef751c8d6dca7a7b5e703e63f7d4f2834977ebf46 /arch/x86/include
parent90d83dc3d49f5101addae962ccc1b4aff66b68d8 (diff)
downloadop-kernel-dev-87bc3bf972af0585ba5415aebbc8bd09b6a2ee94.zip
op-kernel-dev-87bc3bf972af0585ba5415aebbc8bd09b6a2ee94.tar.gz
KVM: MMU: Drop cr4.pge from shadow page role
Since commit bf47a760f66ad, we no longer handle ptes with the global bit set specially, so there is no reason to distinguish between shadow pages created with cr4.gpe set and clear. Such tracking is expensive when the guest toggles cr4.pge, so drop it. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 3c31c5a..d47d087 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -178,7 +178,6 @@ union kvm_mmu_page_role {
unsigned direct:1;
unsigned access:3;
unsigned invalid:1;
- unsigned cr4_pge:1;
unsigned nxe:1;
};
};
OpenPOWER on IntegriCloud