mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
vmstate: Constify some VMStateDescriptions
Constify vmstate_ecc_state and vmstate_x86_cpu. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210408140706.23412-1-zhukeqian1@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
04a2521121
commit
ac701a4f98
4 changed files with 4 additions and 4 deletions
|
@ -78,7 +78,7 @@ void ecc_reset(ECCState *s)
|
|||
}
|
||||
|
||||
/* Save/restore */
|
||||
VMStateDescription vmstate_ecc_state = {
|
||||
const VMStateDescription vmstate_ecc_state = {
|
||||
.name = "ecc-state",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue