]> git.proxmox.com Git - qemu.git/commit
scsi-disk: removable hard disks support load/eject
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Jul 2012 13:59:57 +0000 (15:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jul 2012 06:25:21 +0000 (08:25 +0200)
commitb456a71c4a1eb5704d135fd08da9a0de8fd81231
treed6870e472630290e18ae8f97018502713d348047
parent6a8a685c4d022d4edee57b0fb78c0ae1b4876478
scsi-disk: removable hard disks support load/eject

Support for the LOEJ bit of the START/STOP UNIT command right now is
limited to CD-ROMs.  This is wrong, since removable hard disks (in the
real world: SD card readers) also support it in pretty much the same way.

Without the LOEJ bit, START/STOP UNIT does nothing for all devices.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-disk.c