From: Avi Kivity Date: Sun, 12 Jun 2011 15:14:08 +0000 (+0300) Subject: KVM: MMU: make kvm_mmu_reset_context() flush the guest TLB X-Git-Tag: v3.1-rc1~264^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45bd07b9d5202c910b31c92bd15572b560198c26;p=pandora-kernel.git 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 --- Reading git-diff-tree failed