diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-03-13 18:11:49 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | 54cbf294d37d7d7ba7fefa38a7708c808e53a9c3 (patch) | |
tree | 881467a61f24386946d2ca696c76f93b9d24aa10 /hw/display | |
parent | cfa52e09c4ddf6698e3e7b590ab3b9e2a01977dd (diff) | |
download | qemu-54cbf294d37d7d7ba7fefa38a7708c808e53a9c3.zip qemu-54cbf294d37d7d7ba7fefa38a7708c808e53a9c3.tar.gz qemu-54cbf294d37d7d7ba7fefa38a7708c808e53a9c3.tar.bz2 |
hw/display/qxl: Constify VMStateDescription
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210313171150.2122409-3-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/display')
-rw-r--r-- | hw/display/qxl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 93907e8..2ba7563 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -2384,7 +2384,7 @@ static bool qxl_monitors_config_needed(void *opaque) } -static VMStateDescription qxl_memslot = { +static const VMStateDescription qxl_memslot = { .name = "qxl-memslot", .version_id = QXL_SAVE_VERSION, .minimum_version_id = QXL_SAVE_VERSION, @@ -2396,7 +2396,7 @@ static VMStateDescription qxl_memslot = { } }; -static VMStateDescription qxl_surface = { +static const VMStateDescription qxl_surface = { .name = "qxl-surface", .version_id = QXL_SAVE_VERSION, .minimum_version_id = QXL_SAVE_VERSION, @@ -2414,7 +2414,7 @@ static VMStateDescription qxl_surface = { } }; -static VMStateDescription qxl_vmstate_monitors_config = { +static const VMStateDescription qxl_vmstate_monitors_config = { .name = "qxl/monitors-config", .version_id = 1, .minimum_version_id = 1, @@ -2425,7 +2425,7 @@ static VMStateDescription qxl_vmstate_monitors_config = { }, }; -static VMStateDescription qxl_vmstate = { +static const VMStateDescription qxl_vmstate = { .name = "qxl", .version_id = QXL_SAVE_VERSION, .minimum_version_id = QXL_SAVE_VERSION, |