scsi-disk: Allow overriding SCSI INQUIRY removable bit
commit419e691f8ef16635e73d814ef3ab825272208ba8
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 24 Jan 2011 15:34:58 +0000 (24 15:34 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 24 Jan 2011 20:39:20 +0000 (24 21:39 +0100)
tree2b4347a449294ed5f816806de88f8b6da5556644
parent96df67d1c3928704cd76d0b2e76372ef18658e85
scsi-disk: Allow overriding SCSI INQUIRY removable bit

Provide the "removable" qdev property bit to override the SCSI INQUIRY
removable (RMB) bit for non-CDROM devices.  This will be used by USB
Mass Storage Devices, which sometimes have this guest-visible bit set
and sometimes do not.  They therefore requires a means for user
configuration.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c