Searched hist:"9 a41826f3843bf11bf8f52f176071f8c1fb0aa7e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ide/ |
H A D | atapi.c | diff 9a41826f3843bf11bf8f52f176071f8c1fb0aa7e Tue Apr 12 15:47:52 CDT 2016 Pavel Butsykin <pbutsykin@virtuozzo.com> 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>
|