diff options
author | Peter Lieven <pl@kamp.de> | 2015-11-17 15:06:29 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2015-11-17 15:06:29 -0500 |
commit | 7cda62087c0baf064486f3d803184c2c3b35c04a (patch) | |
tree | 62a9a6571e233f318ab4428d1d9a76ebc653c118 /hw/ide/atapi.c | |
parent | 1d8c11d631545ee43aff16b0763aff7181b61f20 (diff) | |
download | qemu-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