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

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

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@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-14-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/postcopy-ram.c
migration/postcopy-ram.h
migration/ram.c
migration/ram.h
migration/savevm.c