/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 in dump_vmstate_vmsd() 864 vmstate_check(const VMStateDescription * vmsd) vmstate_check() argument 898 vmstate_register_with_alias_id(VMStateIf * obj,uint32_t instance_id,const VMStateDescription * vmsd,void * opaque,int alias_id,int required_for_version,Error ** errp) vmstate_register_with_alias_id() argument 952 vmstate_unregister(VMStateIf * obj,const VMStateDescription * vmsd,void * opaque) vmstate_unregister() argument 3565 vmstate_check_only_migratable(const VMStateDescription * vmsd) vmstate_check_only_migratable() argument [all...] |
/qemu/include/migration/ |
H A D | vmstate.h | 178 const VMStateDescription *vmsd; member 466 .vmsd = &(_vmsd), \ 476 .vmsd = &(_vmsd), \ 485 .vmsd = &(_vmsd), \ 495 .vmsd = &(_vmsd), \ 515 .vmsd = &(_vmsd), \ 525 .vmsd = &(_vmsd), \ 536 .vmsd = &(_vmsd), \ 548 .vmsd = &(_vmsd), \ 559 .vmsd = &(_vmsd), \ [all …]
|
/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 …]
|
/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
|
/qemu/rust/qemu-api/src/ |
H A D | qdev.rs | 124 fn vmsd() -> Option<&'static VMStateDescription> { in vmsd() 175 if let Some(vmsd) = <T as DeviceImpl>::vmsd() { in class_init() 176 self.vmsd = vmsd; in class_init() 123 fn vmsd() -> Option<&'static VMStateDescription> { vmsd() method
|
H A D | vmstate.rs | 481 …($struct_name:ty, $field_name:ident $([0 .. $num:ident $(* $factor:expr)?])?, $vmsd:expr, $type:ty… 493 vmsd: $vmsd, 528 vmsd: unsafe { ::core::ptr::addr_of!($crate::bindings::vmstate_clock) },
|
/qemu/include/hw/input/ |
H A D | hid.h | 67 .vmsd = &vmstate_hid_keyboard_device, \ 77 .vmsd = &vmstate_hid_ptr_device, \
|
/qemu/hw/misc/ |
H A D | bcm2835_cprman.c | 139 dc->vmsd = &pll_vmstate; in pll_class_init() 245 dc->vmsd = &pll_channel_vmstate; in pll_channel_class_init() 368 dc->vmsd = &clock_mux_vmstate; in clock_mux_class_init() 424 dc->vmsd = &dsi0hsck_mux_vmstate; in dsi0hsck_mux_class_init() 799 dc->vmsd = &cprman_vmstate; in cprman_class_init()
|
H A D | imx7_ccm.c | 271 dc->vmsd = &vmstate_imx7_ccm; in imx7_ccm_class_init() 301 dc->vmsd = &vmstate_imx7_analog; in imx7_analog_class_init()
|
/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()
|
/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()
|
H A D | ahci-sysbus.c | 74 dc->vmsd = &vmstate_sysbus_ahci; in sysbus_ahci_class_init()
|
/qemu/target/ppc/ |
H A D | cpu-qom.h | 52 .vmsd = &vmstate_ppc_timebase, \
|
/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-input.c | 38 dc->vmsd = &vmstate_vhost_input; in vhost_input_class_init()
|
H A D | vhost-user-gpio.c | 44 dc->vmsd = &vu_gpio_vmstate; in vu_gpio_class_init()
|
/qemu/include/hw/i2c/ |
H A D | smbus_slave.h | 84 .vmsd = &vmstate_smbus_device, \
|
/qemu/hw/vfio/ |
H A D | amd-xgbe.c | 45 dc->vmsd = &vfio_platform_amd_xgbe_vmstate; in vfio_amd_xgbe_class_init()
|
H A D | calxeda-xgmac.c | 45 dc->vmsd = &vfio_platform_calxeda_xgmac_vmstate; in vfio_calxeda_xgmac_class_init()
|
/qemu/hw/usb/ |
H A D | u2f.h | 81 .vmsd = &vmstate_u2f_key, \
|
/qemu/include/hw/pci/ |
H A D | pci_device.h | 359 .vmsd = &vmstate_pci_device, \ 367 .vmsd = &vmstate_pci_device, \
|