qemu-irix/hw/ide
John Snow 9ea7a46e26 ahci: clear aiocb in ncq_cb
Similar to existing fixes for IDE (87ac25fd) and ATAPI (7f951b2d), the
AIOCB must be cleared in the callback. Otherwise, we may accidentally
try to reset a dangling pointer in bdrv_aio_cancel() from a port reset.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1474575040-32079-2-git-send-email-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-09-28 11:54:06 -05:00
..
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
ahci.c ahci: clear aiocb in ncq_cb 2016-09-28 11:54:06 -05:00
ahci.h ahci: Add allwinner AHCI 2015-11-06 14:09:01 -05:00
atapi.c atapi: fix halted DMA reset 2016-08-09 14:16:18 -05:00
cmd646.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
core.c ahci: fix sglist leak on retry 2016-08-09 14:25:23 -05:00
ich.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
internal.h ide: really restart pending and in-flight atapi dma 2016-04-12 18:48:15 -04:00
isa.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
macio.c macio: set res_count value to 0 after non-block ATAPI DMA transfers 2016-08-09 14:24:25 -05:00
microdrive.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
mmio.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
pci.c ide: don't lose pending dma state 2016-04-12 16:47:52 -04:00
pci.h ide: place initial state of the current request to IDEBus 2015-03-10 14:02:22 +01:00
piix.c xen: Fix IDE unplug 2016-04-12 16:47:52 -04:00
qdev.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
via.c ide: Clean up includes 2016-01-29 15:07:23 +00:00