KVM: Make paravirt tlb flush also reload the PAE PDPTRs
authorAvi Kivity <avi@redhat.com>
Sun, 24 May 2009 19:15:25 +0000 (22:15 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 25 May 2009 17:00:50 +0000 (20:00 +0300)
commita8cd0244e9cebcf9b358d24c7e7410062f3665cb
tree8e7da98d9fbcb5f86abfab5b1d6ab8b97294f801
parent59a3759d0fe8d969888c741bb33f4946e4d3750d
KVM: Make paravirt tlb flush also reload the PAE PDPTRs

The paravirt tlb flush may be used not only to flush TLBs, but also
to reload the four page-directory-pointer-table entries, as it is used
as a replacement for reloading CR3.  Change the code to do the entire
CR3 reloading dance instead of simply flushing the TLB.

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