summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorArun Menon <armenon@redhat.com>2025-09-18 20:53:22 +0530
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commit5fb0cfbb3576d5f545fef5746a08719ce8ab50ea (patch)
treebc28843c65685bf9305697085b576021fe95b1f4 /docs/devel/secure-coding-practices.rst
parente97da6b583d7cf7d5289cbe9faf280bd453d6391 (diff)
downloadfocaccia-qemu-5fb0cfbb3576d5f545fef5746a08719ce8ab50ea.tar.gz
focaccia-qemu-5fb0cfbb3576d5f545fef5746a08719ce8ab50ea.zip
migration: push Error **errp into loadvm_process_command()
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_process_command() 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.

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-5-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions