KVM: MMU: Drop cr4.pge from shadow page role
authorAvi Kivity <avi@redhat.com>
Mon, 19 Apr 2010 14:25:53 +0000 (17:25 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:03 +0000 (12:18 +0300)
commit87bc3bf972af0585ba5415aebbc8bd09b6a2ee94
treef751c8d6dca7a7b5e703e63f7d4f2834977ebf46
parent90d83dc3d49f5101addae962ccc1b4aff66b68d8
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmutrace.h
arch/x86/kvm/x86.c