mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/pci-bridge: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-46-richard.henderson@linaro.org>
This commit is contained in:
parent
8e5e0890b7
commit
f026c578eb
7 changed files with 7 additions and 7 deletions
|
@ -115,7 +115,7 @@ static const VMStateDescription vmstate_xio3130_upstream = {
|
|||
.priority = MIG_PRI_PCI_BUS,
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj.parent_obj, PCIEPort),
|
||||
VMSTATE_STRUCT(parent_obj.parent_obj.exp.aer_log, PCIEPort, 0,
|
||||
vmstate_pcie_aer_log, PCIEAERLog),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue