commit | 45bd07b9d5202c910b31c92bd15572b560198c26 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Jun 12 18:14:08 2011 +0300 |
committer | Avi Kivity <avi@redhat.com> | Tue Jul 12 13:16:27 2011 +0300 |
tree | 3f4b996f14c03e166bc8636ad167d1c0662f4ac4 | |
parent | 411c588dfb863feee78b721d5e7c86ac38921c49 [diff] |
KVM: MMU: make kvm_mmu_reset_context() flush the guest TLB kvm_set_cr0() and kvm_set_cr4(), and possible other functions, assume that kvm_mmu_reset_context() flushes the guest TLB. However, it does not. Fix by flushing the tlb (and syncing the new root as well). Signed-off-by: Avi Kivity <avi@redhat.com>