]> www.infradead.org Git - users/dwmw2/linux.git/commit
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>
Sun, 21 Dec 2008 17:36:59 +0000 (19:36 +0200)
commitc7735e1385a8cf109d6ea3eb2d5d2bbd760f19e7
tree5a53d03dc558aae94647aa50e62412453849ca2b
parent87778d60eefaa7de1973d8dfbda517cae5e8224a
KVM: MMU: Initialize a shadow page's global attribute from cr4.pge

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