diff options
| author | Markus Armbruster <armbru@redhat.com> | 2011-09-06 18:58:48 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-12 15:17:21 +0200 |
| commit | 48f65b3f52fdaf8fdae331248236e8b487de2b3b (patch) | |
| tree | e99ed15d2ce3d4ae240074d2d24d50527a20695e /hw/scsi-disk.c | |
| parent | eb93d5d9906cfa9fb6c3039a310d796dddfddeea (diff) | |
| download | focaccia-qemu-48f65b3f52fdaf8fdae331248236e8b487de2b3b.tar.gz focaccia-qemu-48f65b3f52fdaf8fdae331248236e8b487de2b3b.zip | |
ide/atapi: Don't fail eject when tray is already open
MMC-5 6.40.2.6 specifies that START STOP UNIT succeeds when the drive already has the requested state. cmd_start_stop_unit() fails when asked to eject while the tray is open and locked. Fix that. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions