scsi: Allow scsi_bus_legacy_add_drive() to set removable bit
commit2d1fd2613769d99e5fad1f57ab8466434e2079fd
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 24 Jan 2011 15:34:59 +0000 (24 15:34 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 24 Jan 2011 20:39:22 +0000 (24 21:39 +0100)
tree136fe1756575c1b7f0f19054ea2f4fe16bbe2107
parent419e691f8ef16635e73d814ef3ab825272208ba8
scsi: Allow scsi_bus_legacy_add_drive() to set removable bit

scsi-disk devices may wish to override the removable bit.  Add support
for a qdev property on SCSI devices.  This is will be used by usb-msd.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/pci-hotplug.c
hw/scsi-bus.c
hw/scsi.h
hw/usb-msd.c