hw/pci: Constify VMState

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-45-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-12-21 14:16:25 +11:00
parent be555ec413
commit 8e5e0890b7
6 changed files with 11 additions and 11 deletions

View file

@ -685,7 +685,7 @@ static int get_msix_state(QEMUFile *f, void *pv, size_t size,
return 0;
}
static VMStateInfo vmstate_info_msix = {
static const VMStateInfo vmstate_info_msix = {
.name = "msix state",
.get = get_msix_state,
.put = put_msix_state,
@ -693,7 +693,7 @@ static VMStateInfo vmstate_info_msix = {
const VMStateDescription vmstate_msix = {
.name = "msix",
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
{
.name = "msix",
.version_id = 0,