qemu-cr16/hw/scsi
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
..
emulation.c scsi-generic: avoid invalid access to struct when emulating block limits 2018-11-06 21:35:06 +01:00
esp-pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
esp.c esp.c: only allow ESP commands permitted in the current asc_mode 2025-07-15 00:25:21 +02:00
Kconfig hw/scsi: Introduce VHOST_SCSI_COMMON symbol in Kconfig 2023-06-23 02:54:44 -04:00
lsi53c895a.c hw/scsi/lsi53c895a: skip automatic zero-init of large array 2025-06-12 13:40:16 -04:00
megasas.c hw/scsi/megasas: skip automatic zero-init of large arrays 2025-06-12 13:40:16 -04:00
meson.build hw/virtio: Build various target-agnostic objects just once 2023-06-23 02:54:44 -04:00
mfi.h hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
mpi.h
mptconfig.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
mptendian.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
mptsas.c hw/scsi/mptsas: Avoid silent integer truncation in MPI_FUNC_IOC_INIT 2025-09-02 17:57:05 +02:00
mptsas.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
scsi-bus.c system/runstate: add VM state change cb with return value 2025-05-14 05:39:14 -04:00
scsi-disk.c scsi-disk: Advertise FUA support by default 2025-05-21 18:52:17 +02:00
scsi-generic.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
spapr_vscsi.c migration: push Error **errp into vmstate_load_state() 2025-10-03 09:48:01 -04:00
srp.h
trace-events esp.c: only allow ESP commands permitted in the current asc_mode 2025-07-15 00:25:21 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-scsi-common.c vhost-user: return failure if backend crash when live migration 2025-05-14 05:39:15 -04:00
vhost-scsi.c vhost-scsi: support VIRTIO_SCSI_F_HOTPLUG 2025-05-14 05:39:15 -04:00
vhost-user-scsi.c vhost-user: return failure if backend crash when live migration 2025-05-14 05:39:15 -04:00
viosrp.h Updated the FSF address to <https://www.gnu.org/licenses/> 2023-02-27 09:15:39 +01:00
virtio-scsi-dataplane.c virtio-scsi: only expose cmd vqs via iothread-vq-mapping 2025-03-13 17:57:23 +01:00
virtio-scsi.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
vmw_pvscsi.c hw/scsi/vmw_pvscsi: Convert DeviceRealize -> InstanceInit 2025-05-30 09:52:08 +02:00
vmw_pvscsi.h hw: replace FSF postal address with licenses URL 2025-06-26 00:42:37 +02:00