aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/atapi.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2015-11-17 15:06:29 -0500
committerJohn Snow <jsnow@redhat.com>2015-11-17 15:06:29 -0500
commit7cda62087c0baf064486f3d803184c2c3b35c04a (patch)
tree62a9a6571e233f318ab4428d1d9a76ebc653c118 /hw/ide/atapi.c
parent1d8c11d631545ee43aff16b0763aff7181b61f20 (diff)
downloadqemu-7cda62087c0baf064486f3d803184c2c3b35c04a.zip
qemu-7cda62087c0baf064486f3d803184c2c3b35c04a.tar.gz
qemu-7cda62087c0baf064486f3d803184c2c3b35c04a.tar.bz2
ide: orphan all buffered requests on DMA cancel
If the guests canceles a DMA request we can prematurely invoke all callbacks of buffered requests and flag all them as orphaned. Ideally this avoids the need for draining all requests. For CDROM devices this works in 100% of all cases. Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1447345846-15624-5-git-send-email-pl@kamp.de Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide/atapi.c')
0 files changed, 0 insertions, 0 deletions