]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: push Error **errp into loadvm_postcopy_handle_listen()
authorArun Menon <armenon@redhat.com>
Thu, 18 Sep 2025 15:23:33 +0000 (20:53 +0530)
committerPeter Xu <peterx@redhat.com>
Fri, 3 Oct 2025 13:48:02 +0000 (09:48 -0400)
commit208e5227669ec8de02bd253626566fd72eb3090c
tree9826455b8e4c97376797031bec045890e8694d4e
parent34a94fe28da7d2e54e02a44e3bce35f1695ee013
migration: push Error **errp into loadvm_postcopy_handle_listen()

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 loadvm_postcopy_handle_listen() must report an error
in errp, in case of failure.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
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-16-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/savevm.c