From bb37a8e8a3a7adef2ff395d3daf7384004441340 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Wed, 6 Jan 2016 20:37:24 +0000 Subject: [PATCH] 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 Acked-by: John Snow Signed-off-by: David Gibson --- hw/ide/macio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() } }; -- GitLab