| /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 | 546 const VMStateDescription *vmsd = field->vmsd; in get_tmp() local 552 ret = vmstate_load_state(f, vmsd, tmp, version_id); in get_tmp() 560 const VMStateDescription *vmsd = field->vmsd; in put_tmp() local 566 ret = vmstate_save_state(f, vmsd, tmp, vmdesc); in put_tmp() 629 const VMStateDescription *vmsd = field->vmsd; in get_qtailq() local 637 trace_get_qtailq(vmsd->name, version_id); in get_qtailq() 638 if (version_id > vmsd->version_id) { in get_qtailq() 639 error_report("%s %s", vmsd->name, "too new"); in get_qtailq() 640 trace_get_qtailq_end(vmsd->name, "too new", -EINVAL); in get_qtailq() 644 if (version_id < vmsd->minimum_version_id) { in get_qtailq() [all …]
|
| H A D | savevm.c | 249 const VMStateDescription *vmsd; member 562 const VMStateDescription *vmsd, int indent, 579 if (field->vmsd != NULL) { in dump_vmstate_vmsf() 581 dump_vmstate_vmsd(out_file, field->vmsd, indent, false); in dump_vmstate_vmsf() 596 const VMStateDescription *vmsd, int indent, in dump_vmstate_vmsd() argument 605 fprintf(out_file, "%*s\"name\": \"%s\",\n", indent, "", vmsd->name); in dump_vmstate_vmsd() 607 vmsd->version_id); in dump_vmstate_vmsd() 609 vmsd->minimum_version_id); in dump_vmstate_vmsd() 610 if (vmsd->fields != NULL) { in dump_vmstate_vmsd() 611 const VMStateField *field = vmsd->fields; in dump_vmstate_vmsd() [all …]
|
| /openbmc/qemu/stubs/ |
| H A D | vmstate.c | 8 const VMStateDescription *vmsd, in vmstate_register_with_alias_id() argument 17 const VMStateDescription *vmsd, in vmstate_unregister() argument 22 bool vmstate_check_only_migratable(const VMStateDescription *vmsd) in vmstate_check_only_migratable() argument
|
| /openbmc/qemu/include/migration/ |
| H A D | vmstate.h | 182 const VMStateDescription *vmsd; member 470 .vmsd = &(_vmsd), \ 480 .vmsd = &(_vmsd), \ 489 .vmsd = &(_vmsd), \ 499 .vmsd = &(_vmsd), \ 519 .vmsd = &(_vmsd), \ 529 .vmsd = &(_vmsd), \ 540 .vmsd = &(_vmsd), \ 552 .vmsd = &(_vmsd), \ 563 .vmsd = &(_vmsd), \ [all …]
|
| /openbmc/qemu/rust/qemu-api/tests/ |
| H A D | vmstate_tests.rs | 73 assert!(foo_fields[0].vmsd.is_null()); in test_vmstate_uint16() 93 assert!(foo_fields[1].vmsd.is_null()); in test_vmstate_unused() 114 assert!(foo_fields[2].vmsd.is_null()); in test_vmstate_varray_uint16_unsafe() 138 assert!(foo_fields[3].vmsd.is_null()); in test_vmstate_varray_multiply() 205 assert!(foo_fields[0].vmsd.is_null()); in test_vmstate_bool_v() 225 assert!(foo_fields[1].vmsd.is_null()); in test_vmstate_uint64() 249 assert_eq!(foo_fields[2].vmsd, &VMSTATE_FOOA); in test_vmstate_struct_varray_uint8() 275 assert_eq!(foo_fields[3].vmsd, &VMSTATE_FOOA); in test_vmstate_struct_varray_uint32_multiply() 296 assert!(foo_fields[4].vmsd.is_null()); in test_vmstate_macro_array() 374 assert!(foo_fields[0].vmsd.is_null()); in test_vmstate_pointer() [all …]
|
| /openbmc/qemu/include/hw/input/ |
| H A D | hid.h | 67 .vmsd = &vmstate_hid_keyboard_device, \ 77 .vmsd = &vmstate_hid_ptr_device, \
|
| /openbmc/qemu/rust/qemu-api/src/ |
| H A D | qdev.rs | 124 fn vmsd() -> Option<&'static VMStateDescription> { in vmsd() method 175 if let Some(vmsd) = <T as DeviceImpl>::vmsd() { in class_init() 176 self.vmsd = vmsd; in 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 | 48 dc->vmsd = &vud_vmstate; in vud_class_init()
|
| H A D | vhost-user-rng.c | 45 dc->vmsd = &vu_rng_vmstate; in vu_rng_class_init()
|
| H A D | vhost-user-i2c.c | 44 dc->vmsd = &vu_i2c_vmstate; in vu_i2c_class_init()
|
| H A D | vhost-user-gpio.c | 44 dc->vmsd = &vu_gpio_vmstate; in vu_gpio_class_init()
|
| H A D | vhost-user-input.c | 38 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 | calxeda-xgmac.c | 45 dc->vmsd = &vfio_platform_calxeda_xgmac_vmstate; in vfio_calxeda_xgmac_class_init()
|
| H A D | amd-xgbe.c | 45 dc->vmsd = &vfio_platform_amd_xgbe_vmstate; in vfio_amd_xgbe_class_init()
|
| /openbmc/qemu/hw/usb/ |
| H A D | u2f.h | 81 .vmsd = &vmstate_u2f_key, \
|
| /openbmc/qemu/include/hw/ssi/ |
| H A D | ssi.h | 77 .vmsd = &vmstate_ssi_peripheral, \
|
| /openbmc/qemu/hw/misc/ |
| H A D | pvpanic-pci.c | 73 dc->vmsd = &vmstate_pvpanic_pci; in pvpanic_pci_class_init()
|
| /openbmc/qemu/hw/ide/ |
| H A D | ahci-sysbus.c | 74 dc->vmsd = &vmstate_sysbus_ahci; in sysbus_ahci_class_init()
|
| 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/hw/pci-bridge/ |
| H A D | i82801b11.c | 100 dc->vmsd = &i82801b11_bridge_dev_vmstate; in i82801b11_bridge_class_init()
|
| H A D | simba.c | 82 dc->vmsd = &vmstate_pci_device; in simba_pci_bridge_class_init()
|
| /openbmc/qemu/hw/char/ |
| H A D | serial-pci-multi.c | 155 dc->vmsd = &vmstate_pci_multi_serial; in multi_2x_serial_pci_class_initfn() 171 dc->vmsd = &vmstate_pci_multi_serial; in multi_4x_serial_pci_class_initfn()
|