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:
parent
cfa52e09c4
commit
54cbf294d3
@ -2384,7 +2384,7 @@ static bool qxl_monitors_config_needed(void *opaque)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static VMStateDescription qxl_memslot = {
|
static const VMStateDescription qxl_memslot = {
|
||||||
.name = "qxl-memslot",
|
.name = "qxl-memslot",
|
||||||
.version_id = QXL_SAVE_VERSION,
|
.version_id = QXL_SAVE_VERSION,
|
||||||
.minimum_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",
|
.name = "qxl-surface",
|
||||||
.version_id = QXL_SAVE_VERSION,
|
.version_id = QXL_SAVE_VERSION,
|
||||||
.minimum_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",
|
.name = "qxl/monitors-config",
|
||||||
.version_id = 1,
|
.version_id = 1,
|
||||||
.minimum_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",
|
.name = "qxl",
|
||||||
.version_id = QXL_SAVE_VERSION,
|
.version_id = QXL_SAVE_VERSION,
|
||||||
.minimum_version_id = QXL_SAVE_VERSION,
|
.minimum_version_id = QXL_SAVE_VERSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user