[PATCH-v2 0/3] KVM: Take missing slots_lock for kvm_io_bus_unregister_dev()

Takuya Yoshikawa
2010-12-15T16:39:25Z

This patchset consists of three patches:

[1/3] KVM: Take missing slots_lock for kvm_io_bus_unregister_dev()
[2/3] KVM: Centralize slots_lock aquisition during KVM_CREATE_IRQCHIP
[3/3] KVM: Centralize irq_lock aquisition during KVM_CREATE_IRQCHIP

Though patch 1 is a fix, this is only for an error handling path.
Patches 2,3 are just for coding style consistency. So pick up those
whitch match your policy.

Changelog:
moved slots_lock and irq_lock aquisition to their caller following
Marcelo's advice.

Thanks,
Takuya