migration: Make VMStateDescription.subsections const
commit2027001919f588e54185eb23214c312f6e1298e2
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Dec 2023 03:15:42 +0000 (21 14:15 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Dec 2023 00:17:30 +0000 (29 11:17 +1100)
treeb585b545d70bb2f0bc7f0bb9130d513bff3d300d
parent7425b6277f12e82952cede1f531bfc689bf77fb1
migration: Make VMStateDescription.subsections const

Allow the array of pointers to itself be const.
Propagate this through the copies of this field.

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-2-richard.henderson@linaro.org>
include/migration/vmstate.h
migration/savevm.c
migration/vmstate.c