qemu/hw/ide
Kevin Wolf a62eaa26c1 ahci: Fix FLUSH command
AHCI couldn't cope with asynchronous commands that aren't doing DMA, it
simply wouldn't complete them. Due to the bug fixed in commit f68ec837,
FLUSH commands would seem to have completed immediately even if they
were still running on the host. After the commit, they would simply hang
and never unset the BSY bit, rendering AHCI unusable on any OS sending
flushes.

This patch adds another callback for the completion of asynchronous
commands. This is what AHCI really wants to use for its command
completion logic rather than an DMA completion callback.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-07-15 11:53:55 +02:00
..
ahci.c ahci: Fix FLUSH command 2013-07-15 11:53:55 +02:00
ahci.h dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
atapi.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
cmd646.c hw/i*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
core.c ahci: Fix FLUSH command 2013-07-15 11:53:55 +02:00
ich.c dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
internal.h ahci: Fix FLUSH command 2013-07-15 11:53:55 +02:00
isa.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
macio.c PPC: dbdma: Support more multi-issue DMA requests 2013-07-11 18:51:25 +02:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mmio.c hw/i*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
pci.c ide: Reset BMIDEA bit when the bus master is stopped 2013-05-08 15:28:49 +02:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c hw/i*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
qdev.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
via.c hw/i*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00