From: Marcelo Tosatti Date: Tue, 12 May 2009 21:55:43 +0000 (-0300) Subject: KVM: MMU: protect kvm_mmu_change_mmu_pages with mmu_lock X-Git-Tag: v2.6.31-rc1~393^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c8a83b75a38a807d37f5a4398eca2a42c8cf513;p=pandora-kernel.git KVM: MMU: protect kvm_mmu_change_mmu_pages with mmu_lock kvm_handle_hva, called by MMU notifiers, manipulates mmu data only with the protection of mmu_lock. Update kvm_mmu_change_mmu_pages callers to take mmu_lock, thus protecting against kvm_handle_hva. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed