diff options
| author | Mark Cave-Ayland | 2016-01-06 21:37:24 +0100 |
|---|---|---|
| committer | David Gibson | 2016-01-30 13:37:36 +0100 |
| commit | bb37a8e8a3a7adef2ff395d3daf7384004441340 (patch) | |
| tree | 4c7f670fc752084349d21c4b0fceae0c5e63af72 | |
| parent | macio: use the existing IDEDMA aiocb to hold the active DMA aiocb (diff) | |
| download | qemu-bb37a8e8a3a7adef2ff395d3daf7384004441340.tar.gz qemu-bb37a8e8a3a7adef2ff395d3daf7384004441340.tar.xz qemu-bb37a8e8a3a7adef2ff395d3daf7384004441340.zip | |
macio: add dma_active to VMStateDescription
Make sure that we include the value of dma_active in the migration stream.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| -rw-r--r-- | hw/ide/macio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c index bfdc37747c..1725e5b23f 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -517,11 +517,12 @@ static const MemoryRegionOps pmac_ide_ops = { static const VMStateDescription vmstate_pmac = { .name = "ide", - .version_id = 3, + .version_id = 4, .minimum_version_id = 0, .fields = (VMStateField[]) { VMSTATE_IDE_BUS(bus, MACIOIDEState), VMSTATE_IDE_DRIVES(bus.ifs, MACIOIDEState), + VMSTATE_BOOL(dma_active, MACIOIDEState), VMSTATE_END_OF_LIST() } }; |
