qemu/hw/ide
Markus Armbruster 98f28ad7a7 ide scsi virtio-blk: Reject empty drives unless media is removable
Disks without media make no sense.  For SCSI, a Linux guest kernel
complains during boot.  I didn't try other combinations.

scsi-generic doesn't need the additional check, because it already
requires bdrv_is_sg(), which fails without media.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-07-13 17:48:17 +02:00
..
cmd646.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
core.c ide scsi virtio-blk: Reject empty drives unless media is removable 2010-07-13 17:48:17 +02:00
internal.h ide: Make ide_init_drive() return success 2010-07-06 17:05:49 +02:00
isa.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
macio.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
microdrive.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
mmio.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05: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 pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
qdev.c ide: Make ide_init_drive() return success 2010-07-06 17:05:49 +02:00
via.c pci/multi function bit: fix vt82c686.c. 2010-07-12 18:36:02 +02:00