scsi-disk: Fix START_STOP to fail when it can't eject
commit68bb01f398308eb84f645e2509205a8d9dd0104f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Sep 2011 16:58:49 +0000 (6 18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:21 +0000 (12 15:17 +0200)
tree6930706e7dc45f1cf21b03ec428295fe15c6edc3
parent48f65b3f52fdaf8fdae331248236e8b487de2b3b
scsi-disk: Fix START_STOP to fail when it can't eject

Don't fail when tray is already open.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi.h