Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KVM: Fix possible circular locking in kvm_vm_ioctl_assign_device() | Sheng Yang | 2009-12-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | One possible order is: KVM_CREATE_IRQCHIP ioctl(took kvm->lock) -> kvm_iobus_register_dev() -> down_write(kvm->slots_lock). The other one is in kvm_vm_ioctl_assign_device(), which take kvm->slots_lock first, then kvm->lock. Update the comment of lock order as well. Observe it due to kernel locking debug warnings. Cc: stable@kernel.org Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com> | ||||
* | KVM: Move assigned device code to own file | Avi Kivity | 2009-12-03 | 1 | -0/+818 |
Signed-off-by: Avi Kivity <avi@redhat.com> |