On Mon, Feb 23, 2015 at 11:17:49AM -0500, John Snow wrote:
This series fixes rerror/werror support for IDE/ISA and implements it in
a migratable way for AHCI. This series also fixes AHCI migration.
This series was written mostly by Paolo to unify the restart mechanics
of IDE/ISA and IDE/BMDMA, moving much of the restart logic into common
code.
Many of the earlier patches make more sense considering the end goal of
eliminating BMDMA specific restart code to be shared with ISA and AHCI
codepaths.
Migration for halted commands is fixed for ISA and AHCI.
As a consequence, operations halted via rerror=stop or werror=stop
should be able to be successfully migrated and resumed when using
ISA, PCI, or AHCI.
This series includes tests for ISA and PCI/BMDMA, but does not
yet include tests for AHCI, which require some more qtest work
to be upstreamed first. Regardless, the AHCI tests have been
written and can be observed at:
https://github.com/jnsnow/qemu/commits/ahci-devel
See "ahci: add migrate dma test" and "ahci-test: add flush migrate test"
for the WIP versions of the AHCI test that I used to exercise this
patchset.
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan