[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv3 3/9] cuda.c: include adb_poll_timer in VMStateDesc
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PATCHv3 3/9] cuda.c: include adb_poll_timer in VMStateDescription |
Date: |
Mon, 9 Feb 2015 22:40:46 +0000 |
Make sure that we include the adb_poll_timer when saving the VM state for
client OSs that use it, e.g. Darwin.
Signed-off-by: Mark Cave-Ayland <address@hidden>
---
hw/misc/macio/cuda.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c
index 47d9771..f3984e3 100644
--- a/hw/misc/macio/cuda.c
+++ b/hw/misc/macio/cuda.c
@@ -638,8 +638,8 @@ static const VMStateDescription vmstate_cuda_timer = {
static const VMStateDescription vmstate_cuda = {
.name = "cuda",
- .version_id = 1,
- .minimum_version_id = 1,
+ .version_id = 2,
+ .minimum_version_id = 2,
.fields = (VMStateField[]) {
VMSTATE_UINT8(a, CUDAState),
VMSTATE_UINT8(b, CUDAState),
@@ -660,6 +660,7 @@ static const VMStateDescription vmstate_cuda = {
VMSTATE_UINT32(tick_offset, CUDAState),
VMSTATE_STRUCT_ARRAY(timers, CUDAState, 2, 1,
vmstate_cuda_timer, CUDATimer),
+ VMSTATE_TIMER_PTR(adb_poll_timer, CUDAState),
VMSTATE_END_OF_LIST()
}
};
--
1.7.10.4
- [Qemu-devel] [PATCHv3 0/9] ppc: loadvm/savevm fixups for -M g3beige and -M mac99, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 1/9] macio.c: include parent PCIDevice state in VMStateDescription, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 7/9] openpic: fix up loadvm under -M mac99, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 4/9] target-ppc: move sdr1 value change detection logic to helper_store_sdr1(), Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 2/9] adb.c: include ADBDevice parent state in KBDState and MouseState, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 3/9] cuda.c: include adb_poll_timer in VMStateDescription,
Mark Cave-Ayland <=
- [Qemu-devel] [PATCHv3 8/9] openpic: switch IRQQueue queue from inline to bitmap, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 5/9] target-ppc: force update of msr bits in cpu_post_load, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 9/9] openpic: convert to vmstate, Mark Cave-Ayland, 2015/02/09
- [Qemu-devel] [PATCHv3 6/9] openpic: fix segfault on -M mac99 savevm, Mark Cave-Ayland, 2015/02/09
- Re: [Qemu-devel] [Qemu-ppc] [PATCHv3 0/9] ppc: loadvm/savevm fixups for -M g3beige and -M mac99, Mark Cave-Ayland, 2015/02/27