Home
last modified time | relevance | path

Searched refs:vmsd (Results 1 – 25 of 593) sorted by relevance

12345678910>>...24

/openbmc/qemu/migration/
H A Dvmstate.c24 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 Dvmstate-types.c546 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 Dsavevm.c249 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 Dvmstate.c8 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 Dvmstate.h182 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 Dvmstate_tests.rs73 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 Dhid.h67 .vmsd = &vmstate_hid_keyboard_device, \
77 .vmsd = &vmstate_hid_ptr_device, \
/openbmc/qemu/rust/qemu-api/src/
H A Dqdev.rs124 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 Dcpu-qom.h52 .vmsd = &vmstate_ppc_timebase, \
/openbmc/qemu/hw/virtio/
H A Dvhost-user-device.c48 dc->vmsd = &vud_vmstate; in vud_class_init()
H A Dvhost-user-rng.c45 dc->vmsd = &vu_rng_vmstate; in vu_rng_class_init()
H A Dvhost-user-i2c.c44 dc->vmsd = &vu_i2c_vmstate; in vu_i2c_class_init()
H A Dvhost-user-gpio.c44 dc->vmsd = &vu_gpio_vmstate; in vu_gpio_class_init()
H A Dvhost-user-input.c38 dc->vmsd = &vmstate_vhost_input; in vhost_input_class_init()
/openbmc/qemu/include/hw/i2c/
H A Dsmbus_slave.h84 .vmsd = &vmstate_smbus_device, \
/openbmc/qemu/hw/vfio/
H A Dcalxeda-xgmac.c45 dc->vmsd = &vfio_platform_calxeda_xgmac_vmstate; in vfio_calxeda_xgmac_class_init()
H A Damd-xgbe.c45 dc->vmsd = &vfio_platform_amd_xgbe_vmstate; in vfio_amd_xgbe_class_init()
/openbmc/qemu/hw/usb/
H A Du2f.h81 .vmsd = &vmstate_u2f_key, \
/openbmc/qemu/include/hw/ssi/
H A Dssi.h77 .vmsd = &vmstate_ssi_peripheral, \
/openbmc/qemu/hw/misc/
H A Dpvpanic-pci.c73 dc->vmsd = &vmstate_pvpanic_pci; in pvpanic_pci_class_init()
/openbmc/qemu/hw/ide/
H A Dahci-sysbus.c74 dc->vmsd = &vmstate_sysbus_ahci; in sysbus_ahci_class_init()
H A Dpiix.c187 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 Di82801b11.c100 dc->vmsd = &i82801b11_bridge_dev_vmstate; in i82801b11_bridge_class_init()
H A Dsimba.c82 dc->vmsd = &vmstate_pci_device; in simba_pci_bridge_class_init()
/openbmc/qemu/hw/char/
H A Dserial-pci-multi.c155 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()

12345678910>>...24