ahci: add support for restarting non-queued commands
commite8ef87433ee005d304ba19c56488474432eb0c53
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Feb 2015 16:18:04 +0000 (23 11:18 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:23 +0000 (10 14:02 +0100)
tree311d31dab3f94ee973ac9d63806d3e513218b105
parentbd6649101d044df446c66949cb6c1462c8989726
ahci: add support for restarting non-queued commands

This is easy, since start_dma already restarts processing from the
beginning of the PRDT.

Migration is also easy to cover; the comment about busy_slot is
wrong, busy_slot will only be set if there is an error.  In this
case we have nothing to do really.  The core IDE code will restart
the operation and command list processing will proceed after the
erroring command has been completed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424708286-16483-16-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/ahci.c