aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-08-03 14:57:50 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-08 20:33:28 -0700
commit529fcfcdbe644664b02ce292f2c1628592ff07d2 (patch)
tree89f1671249232105f0fffbaecf87f0cdb42826de /virt/kvm/kvm_main.c
parent8d31fceee486d4f75ece5efcb02f53ffd25e1513 (diff)
KVM: MMU: protect kvm_mmu_change_mmu_pages with mmu_lock
(cherry picked from commit 7c8a83b75a38a807d37f5a4398eca2a42c8cf513) 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 <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions