]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:01 +0000 (09:40 -0700)
commitcd347a162c2056bff69d685b897ad74fccf1c7e0
tree86cbde47bd1bf43c4cca9c520573457529b46566
parent82b3c4cc1d1ab48121f5514e22e00c6dcf9e1fb7
KVM: Make paravirt tlb flush also reload the PAE PDPTRs

commit a8cd0244e9cebcf9b358d24c7e7410062f3665cb upstream.

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.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/mmu.c