[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 68/71] replay: Constify VMState
From: |
Richard Henderson |
Subject: |
[PATCH v2 68/71] replay: Constify VMState |
Date: |
Thu, 21 Dec 2023 14:16:49 +1100 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
replay/replay-snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c
index 10a7cf7992..e5e39161e3 100644
--- a/replay/replay-snapshot.c
+++ b/replay/replay-snapshot.c
@@ -51,7 +51,7 @@ static const VMStateDescription vmstate_replay = {
.minimum_version_id = 2,
.pre_save = replay_pre_save,
.post_load = replay_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_INT64_ARRAY(cached_clock, ReplayState, REPLAY_CLOCK_COUNT),
VMSTATE_UINT64(current_icount, ReplayState),
VMSTATE_INT32(instruction_count, ReplayState),
--
2.34.1
- [PATCH v2 58/71] hw/usb: Constify VMState, (continued)
- [PATCH v2 58/71] hw/usb: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 59/71] hw/vfio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 61/71] hw/watchdog: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 63/71] audio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 64/71] backends: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 60/71] hw/virtio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 62/71] hw/misc/macio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 65/71] cpu-target: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 66/71] migration: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 68/71] replay: Constify VMState,
Richard Henderson <=
- [PATCH v2 69/71] util/fifo8: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 67/71] system: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 70/71] tests/unit/test-vmstate: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 71/71] docs: Constify VMstate in examples, Richard Henderson, 2023/12/20