Re: [Qemu-devel] [PATCH 1.3 2/2] hmp: do not crash on invalid SCSI hotplug

2012-11-26 Thread Luiz Capitulino
On Fri, 23 Nov 2012 16:56:18 +0100 Paolo Bonzini wrote: > Commit 0d93692 (qdev: Convert busses to QEMU Object Model, 2012-05-02) > removed a check on the type of the bus where a SCSI disk is hotplugged. > However, hot-plugging to the wrong kind of device now causes a crash > due to either a NULL

[Qemu-devel] [PATCH 1.3 2/2] hmp: do not crash on invalid SCSI hotplug

2012-11-23 Thread Paolo Bonzini
Commit 0d93692 (qdev: Convert busses to QEMU Object Model, 2012-05-02) removed a check on the type of the bus where a SCSI disk is hotplugged. However, hot-plugging to the wrong kind of device now causes a crash due to either a NULL pointer dereference (avoided by the previous patch) or a failed QO