]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: skip global pgtables on sync due to cr3 switch
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 2 Dec 2008 00:32:04 +0000 (22:32 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:44 +0000 (16:55 +0200)
commitf696288f654dff268795b1ef168ef91ff7baff6b
tree9ee09235ed1dc1f26c8988557ddb2fb82cdb2b05
parent4bd2bdb71237ec1b2ae275b0716edf66275ce3a0
KVM: MMU: skip global pgtables on sync due to cr3 switch

Skip syncing global pages on cr3 switch (but not on cr4/cr0). This is
important for Linux 32-bit guests with PAE, where the kmap page is
marked as global.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/x86.c