This patchset fixes up macio/DBDMA to allow migration to succeed for Mac machines while IDE/DMA requests are in-flight, and in conjunction with the migration fixup patchset, enables me to successfully migrate live VMs under TCG.
Migration was tested by running through a complete Darwin install whilst issuing savevm/loadvm command pairs every minute or so in the monitor with no visible ill-effects, and resulted in a bootable disk image. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (4): macio: use the existing IDEDMA aiocb to hold the active DMA aiocb macio: add dma_active to VMStateDescription mac_dbdma: add DBDMA controller state to VMStateDescription cuda: add missing fields to VMStateDescription hw/ide/macio.c | 23 ++++++++++++++--------- hw/misc/macio/cuda.c | 7 +++++-- hw/misc/macio/mac_dbdma.c | 40 ++++++++++++++++++++++++++++++++++++---- hw/ppc/mac.h | 1 - 4 files changed, 55 insertions(+), 16 deletions(-) -- 1.7.10.4