summary refs log tree commit diff stats
path: root/migration/qemu-file.c
diff options
context:
space:
mode:
authorArun Menon <armenon@redhat.com>2025-09-18 20:53:28 +0530
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commit8b6dad124ba757ba96a3b4456223e53632371bc8 (patch)
treea060dc35c3afe4ec89ed149ced926fef2dd04062 /migration/qemu-file.c
parent4493752653141b480d6f4c4df4b25b71a8753b98 (diff)
downloadfocaccia-qemu-8b6dad124ba757ba96a3b4456223e53632371bc8.tar.gz
focaccia-qemu-8b6dad124ba757ba96a3b4456223e53632371bc8.zip
migration: push Error **errp into qemu_loadvm_section_part_end()
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 qemu_loadvm_section_part_end() must report an error
in errp, in case of failure.
This patch also removes the setting of errp when errp is NULL in the
out section as it is no longer required in the series.

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-11-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/qemu-file.c')
0 files changed, 0 insertions, 0 deletions