[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription |
Date: |
Wed, 6 Jan 2016 20:37:24 +0000 |
Make sure that we include the value of dma_active in the migration stream.
Signed-off-by: Mark Cave-Ayland <address@hidden>
---
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 560c071..695d4d2 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -518,11 +518,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()
}
};
--
1.7.10.4
- [Qemu-devel] [PATCH 0/4] ppc: loadvm/savevm fixups for macio/DBDMA, Mark Cave-Ayland, 2016/01/06
- [Qemu-devel] [PATCH 3/4] mac_dbdma: add DBDMA controller state to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- [Qemu-devel] [PATCH 4/4] cuda: add missing fields to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription,
Mark Cave-Ayland <=
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/06
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/08
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/11
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/14
- Re: [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/14
[Qemu-devel] [PATCH 1/4] macio: use the existing IDEDMA aiocb to hold the active DMA aiocb, Mark Cave-Ayland, 2016/01/06