android_kernel_motorola_sm6225/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 KVM: Add coalesced MMIO support (common part) 2008-07-20 12:42:31 +03:00
coalesced_mmio.h KVM: Add coalesced MMIO support (common part) 2008-07-20 12:42:31 +03:00
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 KVM: kvm_io_device: extend in_range() to manage len and write attribute 2008-07-20 12:42:30 +03:00
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