KVM: MMU: Initialize a shadow page's global attribute from cr4.pge
authorAvi Kivity <avi@redhat.com>
Sun, 21 Dec 2008 17:36:59 +0000 (19:36 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:51 +0000 (11:02 +0200)
If cr4.pge is cleared, we ought to treat any ptes in the page as non-global.
This allows us to remove the check from set_spte().

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c

Simple merge