diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:32 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | 2d7b39a64f785999f1225380ec3ad1e89922226d (patch) | |
tree | 1d1a8356005b898c38749c872a030a397b866448 /hw/scsi/megasas.c | |
parent | b9b59a36c3087623f77d7c97f6e2b75c91bb555f (diff) | |
download | qemu-2d7b39a64f785999f1225380ec3ad1e89922226d.zip qemu-2d7b39a64f785999f1225380ec3ad1e89922226d.tar.gz qemu-2d7b39a64f785999f1225380ec3ad1e89922226d.tar.bz2 |
hw/scsi: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-52-richard.henderson@linaro.org>
Diffstat (limited to 'hw/scsi/megasas.c')
-rw-r--r-- | hw/scsi/megasas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c index 32c70c9..2d0c607 100644 --- a/hw/scsi/megasas.c +++ b/hw/scsi/megasas.c @@ -2299,7 +2299,7 @@ static const VMStateDescription vmstate_megasas_gen1 = { .name = "megasas", .version_id = 0, .minimum_version_id = 0, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_PCI_DEVICE(parent_obj, MegasasState), VMSTATE_MSIX(parent_obj, MegasasState), @@ -2317,7 +2317,7 @@ static const VMStateDescription vmstate_megasas_gen2 = { .name = "megasas-gen2", .version_id = 0, .minimum_version_id = 0, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_PCI_DEVICE(parent_obj, MegasasState), VMSTATE_MSIX(parent_obj, MegasasState), |