summary refs log tree commit diff stats
path: root/ui/vdagent.c
diff options
context:
space:
mode:
authorArun Menon <armenon@redhat.com>2025-09-18 20:53:18 +0530
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:01 -0400
commit73b42fc58d035cb2fcfe90083d6b33aeb4fa1b2a (patch)
treeac429ab8e62be733ccd9f27bc29fc129b40ba5e5 /ui/vdagent.c
parent517e9b4862cc9798b7a24b1935d94c2f96787f12 (diff)
downloadfocaccia-qemu-73b42fc58d035cb2fcfe90083d6b33aeb4fa1b2a.tar.gz
focaccia-qemu-73b42fc58d035cb2fcfe90083d6b33aeb4fa1b2a.zip
migration: push Error **errp into vmstate_subsection_load()
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_subsection_load() 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.

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