diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2016-01-06 20:37:24 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:37:36 +1100 |
commit | bb37a8e8a3a7adef2ff395d3daf7384004441340 (patch) | |
tree | 4c7f670fc752084349d21c4b0fceae0c5e63af72 /hw/ide | |
parent | 03c1280bf5dbb0b0f6125d17b8eebe9b9e97c8d8 (diff) |
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>
Diffstat (limited to 'hw/ide')
-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() } }; |