mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Laurent Vivier
parent
cfa52e09c4
commit
54cbf294d3
+4
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user