qemu/hw/ide
Markus Armbruster 18846dee1a block: Catch attempt to attach multiple devices to a blockdev
For instance, -device scsi-disk,drive=foo -device scsi-disk,drive=foo
happily creates two SCSI disks connected to the same block device.
It's all downhill from there.

Device usb-storage deliberately attaches twice to the same blockdev,
which fails with the fix in place.  Detach before the second attach
there.

Also catch attempt to delete while a guest device model is attached.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-07-02 13:18:02 +02:00
..
cmd646.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
core.c qdev: Decouple qdev_prop_drive from DriveInfo 2010-07-02 13:18:02 +02:00
internal.h qdev: Decouple qdev_prop_drive from DriveInfo 2010-07-02 13:18:02 +02:00
isa.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
macio.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
microdrive.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
mmio.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
pci.c ide save/restore current transfer fields 2010-01-26 15:42:02 -06:00
pci.h ide: port pci ide to vmstate 2009-10-27 12:28:46 -05:00
piix.c ide: Split non-qdev code off ide_init2() 2010-06-04 11:43:39 +02:00
qdev.c block: Catch attempt to attach multiple devices to a blockdev 2010-07-02 13:18:02 +02:00
via.c MIPS: Initial support of VIA IDE controller used by fulong mini pc 2010-06-29 23:07:52 +02:00