diff options
author | Keqian Zhu <zhukeqian1@huawei.com> | 2021-04-08 22:07:06 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | ac701a4f98d68156fcddbe3bb3f7c3869b8c646e (patch) | |
tree | 52794b914e38bb73ce8b1656c52dd64890d96821 /hw | |
parent | 04a252112119d34e10d9b0bd65c499e1b17dc8fe (diff) |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/block/ecc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/ecc.c b/hw/block/ecc.c index 1a182367ee..6e0d63842c 100644 --- a/hw/block/ecc.c +++ b/hw/block/ecc.c @@ -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, |