qemu-e2k/hw/ide
Markus Armbruster 48f65b3f52 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>
2011-09-12 15:17:21 +02:00
..
ahci.c block: explicit I/O accounting 2011-08-25 18:18:42 +02:00
ahci.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
atapi.c ide/atapi: Don't fail eject when tray is already open 2011-09-12 15:17:21 +02:00
cmd646.c pci: rename pci_register_bar_region() to pci_register_bar() 2011-08-08 10:22:30 -05:00
core.c block: Drop medium lock tracking, ask device models instead 2011-09-12 15:17:20 +02:00
ich.c pci: rename pci_register_bar_region() to pci_register_bar() 2011-08-08 10:22:30 -05:00
internal.h ide/atapi: Track tray locked state 2011-09-12 15:17:20 +02:00
isa.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
macio.c block: explicit I/O accounting 2011-08-25 18:18:42 +02:00
microdrive.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
mmio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
pci.c ide: convert to memory API 2011-08-08 10:15:54 -05:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c xen: Clean up pci_piix3_xen_ide_unplug()'s test for "not a CD" 2011-09-06 11:24:07 +02:00
qdev.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
via.c pci: rename pci_register_bar_region() to pci_register_bar() 2011-08-08 10:22:30 -05:00