diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:47 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | a77ffe95959e5cf8acfa1148bb16dbb6c2092068 (patch) | |
tree | e359e91fa5c5a80c4f7a05e9085dd38a883c53a3 /migration/global_state.c | |
parent | ee1381ce764a88753a1276e9f85f72be62eb6fa2 (diff) |
migration: Constify VMState
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-67-richard.henderson@linaro.org>
Diffstat (limited to 'migration/global_state.c')
-rw-r--r-- | migration/global_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/global_state.c b/migration/global_state.c index 4e2a9d8ec0..8ee15dbb06 100644 --- a/migration/global_state.c +++ b/migration/global_state.c @@ -131,7 +131,7 @@ static const VMStateDescription vmstate_globalstate = { .post_load = global_state_post_load, .pre_save = global_state_pre_save, .needed = global_state_needed, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(size, GlobalState), VMSTATE_BUFFER(runstate, GlobalState), VMSTATE_END_OF_LIST() |