]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c8bfa85aca113f48867ec44391434b86135e1da
tree76699895f67a24cbcdc05415068905d7e5be84c4
parent0478376458fa4edcc4ae149f30f92b1de6ee327c
KVM: MMU: Don't treat a global pte as such if cr4.pge is cleared

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>
arch/x86/kvm/mmu.c