kernel-ark/virt/kvm
Mark McLoughlin 682edb4c01 KVM: Fix assigned devices circular locking dependency
kvm->slots_lock is outer to kvm->lock, so take slots_lock
in kvm_vm_ioctl_assign_device() before taking kvm->lock,
rather than taking it in kvm_iommu_map_memslots().

Cc: stable@kernel.org
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-02-15 02:47:39 +02:00
..
coalesced_mmio.c
coalesced_mmio.h
ioapic.c KVM: Export ioapic_get_delivery_bitmask 2008-12-31 16:55:01 +02:00
ioapic.h KVM: Export ioapic_get_delivery_bitmask 2008-12-31 16:55:01 +02:00
iodev.h
iommu.c KVM: Fix assigned devices circular locking dependency 2009-02-15 02:47:39 +02:00
irq_comm.c KVM: add KVM_USERSPACE_IRQ_SOURCE_ID assertions 2008-12-31 16:55:07 +02:00
kvm_main.c KVM: Fix assigned devices circular locking dependency 2009-02-15 02:47:39 +02:00
kvm_trace.c KVM: Prevent trace call into unloaded module text 2008-12-31 16:55:04 +02:00