KVM: MMU: Don't treat a global pte as such if cr4.pge is cleared
authorAvi Kivity <avi@redhat.com>
Sun, 21 Dec 2008 16:31:10 +0000 (18:31 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:48 +0000 (16:55 +0200)
The pte.g bit is meaningless if global pages are disabled; deferring
mmu page synchronization on these ptes will lead to the guest using stale
shadow ptes.

Fixes Vista x86 smp bootloader failure.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found