[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 4/4] cuda: add missing fields to VMStateDescription
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-ppc] [PATCH 4/4] cuda: add missing fields to VMStateDescription |
Date: |
Wed, 6 Jan 2016 20:37:26 +0000 |
Include some fields missed from the previous VMState conversion to the
migration stream, as well as the new SR_INT delay timer.
Signed-off-by: Mark Cave-Ayland <address@hidden>
---
hw/misc/macio/cuda.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c
index 9db4c64..3556852 100644
--- a/hw/misc/macio/cuda.c
+++ b/hw/misc/macio/cuda.c
@@ -704,15 +704,17 @@ static const VMStateDescription vmstate_cuda_timer = {
static const VMStateDescription vmstate_cuda = {
.name = "cuda",
- .version_id = 2,
- .minimum_version_id = 2,
+ .version_id = 3,
+ .minimum_version_id = 3,
.fields = (VMStateField[]) {
VMSTATE_UINT8(a, CUDAState),
VMSTATE_UINT8(b, CUDAState),
+ VMSTATE_UINT8(last_b, CUDAState),
VMSTATE_UINT8(dira, CUDAState),
VMSTATE_UINT8(dirb, CUDAState),
VMSTATE_UINT8(sr, CUDAState),
VMSTATE_UINT8(acr, CUDAState),
+ VMSTATE_UINT8(last_acr, CUDAState),
VMSTATE_UINT8(pcr, CUDAState),
VMSTATE_UINT8(ifr, CUDAState),
VMSTATE_UINT8(ier, CUDAState),
@@ -727,6 +729,7 @@ static const VMStateDescription vmstate_cuda = {
VMSTATE_STRUCT_ARRAY(timers, CUDAState, 2, 1,
vmstate_cuda_timer, CUDATimer),
VMSTATE_TIMER_PTR(adb_poll_timer, CUDAState),
+ VMSTATE_TIMER_PTR(sr_delay_timer, CUDAState),
VMSTATE_END_OF_LIST()
}
};
--
1.7.10.4
- [Qemu-ppc] [PATCH 0/4] ppc: loadvm/savevm fixups for macio/DBDMA, Mark Cave-Ayland, 2016/01/06
- [Qemu-ppc] [PATCH 4/4] cuda: add missing fields to VMStateDescription,
Mark Cave-Ayland <=
- [Qemu-ppc] [PATCH 1/4] macio: use the existing IDEDMA aiocb to hold the active DMA aiocb, Mark Cave-Ayland, 2016/01/06
- [Qemu-ppc] [PATCH 3/4] mac_dbdma: add DBDMA controller state to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- [Qemu-ppc] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/08
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/11
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, John Snow, 2016/01/14
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/4] macio: add dma_active to VMStateDescription, Mark Cave-Ayland, 2016/01/14