qemu/hw/ide
Pavel Butsykin 9a41826f38 ide: restart atapi dma by re-evaluating command packet
ide_atapi_dma_restart() used to just complete the DMA with an error,
under the assumption that there isn't enough information to restart it.

However, as the contents of the ->io_buffer is preserved, it looks safe to
just re-evaluate it and dispatch the ATAPI command again.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1459924806-306-3-git-send-email-den@openvz.org
Signed-off-by: John Snow <jsnow@redhat.com>
2016-04-12 16:47:52 -04:00
..
ahci.c ahci: prohibit "restarting" the FIS or CLB engines 2016-02-10 13:29:40 -05:00
ahci.h ahci: Add allwinner AHCI 2015-11-06 14:09:01 -05:00
atapi.c ide: restart atapi dma by re-evaluating command packet 2016-04-12 16:47:52 -04:00
cmd646.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
core.c ide: don't lose pending dma state 2016-04-12 16:47:52 -04:00
ich.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
internal.h ide: don't lose pending dma state 2016-04-12 16:47:52 -04:00
isa.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
macio.c macio: add dma_active to VMStateDescription 2016-01-30 23:37:36 +11:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02: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