mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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:
parent
be555ec413
commit
8e5e0890b7
6 changed files with 11 additions and 11 deletions
|
@ -52,7 +52,7 @@ void shpc_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev,
|
|||
void shpc_device_unplug_request_cb(HotplugHandler *hotplug_dev,
|
||||
DeviceState *dev, Error **errp);
|
||||
|
||||
extern VMStateInfo shpc_vmstate_info;
|
||||
extern const VMStateInfo shpc_vmstate_info;
|
||||
#define SHPC_VMSTATE(_field, _type, _test) \
|
||||
VMSTATE_BUFFER_UNSAFE_INFO_TEST(_field, _type, _test, 0, \
|
||||
shpc_vmstate_info, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue