qemu-cr16/hw/s390x
Arun Menon c632ffbd74 migration: push Error **errp into vmstate_load_state()
This is an incremental step in converting vmstate loading
code to report error via Error objects instead of directly
printing it to console/monitor.
It is ensured that vmstate_load_state() must report an error
in errp, in case of failure.

The errors are temporarily reported using error_report_err().
This is removed in the subsequent patches in this series,
when we are actually able to propagate the error to the calling
function using errp. Whereas, if we want the function to exit on
error, then error_fatal is passed.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Arun Menon <armenon@redhat.com>
Tested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20250918-propagate_tpm_error-v14-2-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2025-10-03 09:48:01 -04:00
..
3270-ccw.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
ap-bridge.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
ap-device.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
ap-stub.c s390: implementing CHSC SEI for AP config change 2025-06-11 14:01:58 +02:00
ccw-device.c hw/s390x/ccw-device: Fix memory leak in loadparm setter 2025-06-26 00:42:28 +02:00
ccw-device.h hw/s390x: Restrict "loadparm" property to devices that can be used for booting 2024-11-18 10:54:42 +01:00
cpu-topology.c qapi: make s390x specific CPU commands unconditionally available 2025-05-28 18:56:08 +02:00
css-bridge.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
css.c include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
event-facility.c hw/s390x: add SCLP event type CPI 2025-06-25 17:04:40 +02:00
ipl.c target/s390x: Return UVC cmd code, RC and RRC value when DIAG 308 Subcode 10 fails to enter secure mode 2025-04-30 09:48:57 +02:00
ipl.h target/s390x: Return UVC cmd code, RC and RRC value when DIAG 308 Subcode 10 fails to enter secure mode 2025-04-30 09:48:57 +02:00
Kconfig s390x: virtio-mem support 2024-12-21 20:15:06 +01:00
meson.build hw/s390x: add SCLP event type CPI 2025-06-25 17:04:40 +02:00
s390-ccw.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
s390-hypercall.c s390x/s390-hypercall: introduce DIAG500 STORAGE_LIMIT 2024-12-21 15:59:59 +01:00
s390-hypercall.h s390x/s390-hypercall: introduce DIAG500 STORAGE_LIMIT 2024-12-21 15:59:59 +01:00
s390-pci-bus.c hw/s390x/s390-pci-bus.c: Use g_assert_not_reached() in functions taking an ett 2025-07-11 09:42:47 +02:00
s390-pci-inst.c qemu: Declare all load/store helper in 'qemu/bswap.h' 2025-07-15 02:56:39 -04:00
s390-pci-kvm.c s390x/pci: refresh fh before disabling aif 2024-01-19 11:38:32 +01:00
s390-pci-vfio.c hw/vfio/types.h: rename TYPE_VFIO_PCI_BASE to TYPE_VFIO_PCI_DEVICE 2025-09-25 17:55:20 +02:00
s390-skeys-kvm.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
s390-skeys.c qapi: remove the misc-target.json file 2025-05-28 18:54:18 +02:00
s390-stattrib-kvm.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
s390-stattrib.c migration: Rename save_live_complete_precopy to save_complete 2025-07-11 10:37:36 -03:00
s390-virtio-ccw.c hw: add compat machines for 10.2 2025-08-27 07:07:53 +02:00
sclp.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
sclpcpi.c hw/s390x: support migration of CPI data 2025-06-25 17:04:40 +02:00
sclpcpu.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
sclpquiesce.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tod-kvm.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tod-tcg.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tod.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/s390x: Introduce s390_skeys_get|set() helpers 2024-06-19 12:42:03 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-scsi-ccw.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
vhost-user-fs-ccw.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
vhost-vsock-ccw.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-9p.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-balloon.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-blk.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-crypto.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-gpu.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-input.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-md-stubs.c s390x/virtio-ccw: add support for virtio based memory devices 2024-12-21 15:59:59 +01:00
virtio-ccw-md.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
virtio-ccw-md.h s390x/virtio-ccw: add support for virtio based memory devices 2024-12-21 15:59:59 +01:00
virtio-ccw-mem.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-mem.h s390x: virtio-mem support 2024-12-21 20:15:06 +01:00
virtio-ccw-net.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-rng.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-scsi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw-serial.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-ccw.c migration: push Error **errp into vmstate_load_state() 2025-10-03 09:48:01 -04:00
virtio-ccw.h hw/s390/virtio-ccw: Convert to three-phase reset 2024-09-13 15:31:43 +01:00