/openbmc/qemu/migration/ |
H A D | vmstate.c | 24 static int vmstate_subsection_save(QEMUFile *f, const VMStateDescription *vmsd, 27 static int vmstate_subsection_load(QEMUFile *f, const VMStateDescription *vmsd, 32 vmstate_field_exists(const VMStateDescription *vmsd, const VMStateField *field, in vmstate_field_exists() argument 40 trace_vmstate_field_exists(vmsd->name, field->name, field->version_id, in vmstate_field_exists() 134 int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd, in vmstate_load_state() argument 137 const VMStateField *field = vmsd->fields; in vmstate_load_state() 140 trace_vmstate_load_state(vmsd->name, version_id); in vmstate_load_state() 141 if (version_id > vmsd->version_id) { in vmstate_load_state() 144 vmsd->name, version_id, vmsd->version_id); in vmstate_load_state() 145 trace_vmstate_load_state_end(vmsd->name, "too new", -EINVAL); in vmstate_load_state() [all …]
|
H A D | vmstate-types.c | 522 const VMStateDescription *vmsd = field->vmsd; in get_tmp() local 528 ret = vmstate_load_state(f, vmsd, tmp, version_id); in get_tmp() 536 const VMStateDescription *vmsd = field->vmsd; in put_tmp() local 542 ret = vmstate_save_state(f, vmsd, tmp, vmdesc); in put_tmp() 605 const VMStateDescription *vmsd = field->vmsd; in get_qtailq() local 613 trace_get_qtailq(vmsd->name, version_id); in get_qtailq() 614 if (version_id > vmsd->version_id) { in get_qtailq() 615 error_report("%s %s", vmsd->name, "too new"); in get_qtailq() 616 trace_get_qtailq_end(vmsd->name, "too new", -EINVAL); in get_qtailq() 620 if (version_id < vmsd->minimum_version_id) { in get_qtailq() [all …]
|
H A D | savevm.c | 215 const VMStateDescription *vmsd; member 529 const VMStateDescription *vmsd, int indent, 546 if (field->vmsd != NULL) { in dump_vmstate_vmsf() 548 dump_vmstate_vmsd(out_file, field->vmsd, indent, false); in dump_vmstate_vmsf() 563 const VMStateDescription *vmsd, int indent, in dump_vmstate_vmsd() argument 572 fprintf(out_file, "%*s\"name\": \"%s\",\n", indent, "", vmsd->name); in dump_vmstate_vmsd() 574 vmsd->version_id); in dump_vmstate_vmsd() 576 vmsd->minimum_version_id); in dump_vmstate_vmsd() 577 if (vmsd->fields != NULL) { in dump_vmstate_vmsd() 578 const VMStateField *field = vmsd->fields; in dump_vmstate_vmsd() [all …]
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | vmstate.rs | 28 vmsd: ::core::ptr::null(), 69 vmsd: ::core::ptr::null(), 146 vmsd: ::core::ptr::null(), 180 ($field_name:ident, $struct_name:ty, $version_id:expr, $vmsd:expr, $type:ty) => {{ 194 vmsd: unsafe { $vmsd }, 220 vmsd: ::core::ptr::null(), 230 ($field_name:ident, $struct_name:ty, $num:expr, $version_id:expr, $vmsd:expr, $type:ty) => {{ 237 vmsd: unsafe { $vmsd }, 249 vmsd: ::core::ptr::null(), 320 vmsd: ::core::ptr::null(),
|
H A D | device_class.rs | 11 …ize_fn => $realize_fn:expr, legacy_reset_fn => $legacy_reset_fn:expr, vmsd => $vmsd:ident$(,)*) =>… 20 dc.as_mut().vmsd = &$vmsd;
|
/openbmc/qemu/include/migration/ |
H A D | vmstate.h | 178 const VMStateDescription *vmsd; member 465 .vmsd = &(_vmsd), \ 475 .vmsd = &(_vmsd), \ 484 .vmsd = &(_vmsd), \ 494 .vmsd = &(_vmsd), \ 514 .vmsd = &(_vmsd), \ 524 .vmsd = &(_vmsd), \ 535 .vmsd = &(_vmsd), \ 547 .vmsd = &(_vmsd), \ 558 .vmsd = &(_vmsd), \ [all …]
|
/openbmc/qemu/stubs/ |
H A D | vmstate.c | 6 const VMStateDescription *vmsd, in vmstate_register_with_alias_id() argument 15 const VMStateDescription *vmsd, in vmstate_unregister() argument 20 bool vmstate_check_only_migratable(const VMStateDescription *vmsd) in vmstate_check_only_migratable() argument
|
/openbmc/qemu/include/hw/input/ |
H A D | hid.h | 67 .vmsd = &vmstate_hid_keyboard_device, \ 77 .vmsd = &vmstate_hid_ptr_device, \
|
/openbmc/qemu/hw/misc/ |
H A D | bcm2835_cprman.c | 139 dc->vmsd = &pll_vmstate; in pll_class_init() 243 dc->vmsd = &pll_channel_vmstate; in pll_channel_class_init() 364 dc->vmsd = &clock_mux_vmstate; in clock_mux_class_init() 418 dc->vmsd = &dsi0hsck_mux_vmstate; in dsi0hsck_mux_class_init() 792 dc->vmsd = &cprman_vmstate; in cprman_class_init()
|
/openbmc/qemu/hw/ide/ |
H A D | piix.c | 187 dc->vmsd = &vmstate_ide_pci; in piix3_ide_class_init() 210 dc->vmsd = &vmstate_ide_pci; in piix4_ide_class_init()
|
/openbmc/qemu/target/ppc/ |
H A D | cpu-qom.h | 52 .vmsd = &vmstate_ppc_timebase, \
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user-device.c | 49 dc->vmsd = &vud_vmstate; in vud_class_init()
|
H A D | vhost-user-snd.c | 47 dc->vmsd = &vu_snd_vmstate; in vu_snd_class_init()
|
H A D | vhost-user-gpio.c | 45 dc->vmsd = &vu_gpio_vmstate; in vu_gpio_class_init()
|
H A D | vhost-user-rng.c | 46 dc->vmsd = &vu_rng_vmstate; in vu_rng_class_init()
|
H A D | vhost-user-i2c.c | 45 dc->vmsd = &vu_i2c_vmstate; in vu_i2c_class_init()
|
H A D | vhost-user-input.c | 39 dc->vmsd = &vmstate_vhost_input; in vhost_input_class_init()
|
/openbmc/qemu/include/hw/i2c/ |
H A D | smbus_slave.h | 84 .vmsd = &vmstate_smbus_device, \
|
/openbmc/qemu/hw/vfio/ |
H A D | amd-xgbe.c | 43 dc->vmsd = &vfio_platform_amd_xgbe_vmstate; in vfio_amd_xgbe_class_init()
|
H A D | calxeda-xgmac.c | 43 dc->vmsd = &vfio_platform_calxeda_xgmac_vmstate; in vfio_calxeda_xgmac_class_init()
|
/openbmc/qemu/hw/char/ |
H A D | serial-pci-multi.c | 161 dc->vmsd = &vmstate_pci_multi_serial; in multi_2x_serial_pci_class_initfn() 176 dc->vmsd = &vmstate_pci_multi_serial; in multi_4x_serial_pci_class_initfn()
|
/openbmc/qemu/hw/usb/ |
H A D | u2f.h | 81 .vmsd = &vmstate_u2f_key, \
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci_device.h | 351 .vmsd = &vmstate_pci_device, \ 359 .vmsd = &vmstate_pci_device, \
|
/openbmc/qemu/include/hw/ssi/ |
H A D | ssi.h | 77 .vmsd = &vmstate_ssi_peripheral, \
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | simba.c | 82 dc->vmsd = &vmstate_pci_device; in simba_pci_bridge_class_init()
|