diff options
| author | Arun Menon <armenon@redhat.com> | 2025-09-18 20:53:30 +0530 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2025-10-03 09:48:02 -0400 |
| commit | 3cd7a260e54a350e4cf0b49f69dfd61baebfa8fb (patch) | |
| tree | 31c4350b1307ae1e545e04fc58e4afde9cf98d9b /docs/devel/secure-coding-practices.rst | |
| parent | 3f9d6e77b0471c844d5050cc71db0863eb4d1b64 (diff) | |
| download | focaccia-qemu-3cd7a260e54a350e4cf0b49f69dfd61baebfa8fb.tar.gz focaccia-qemu-3cd7a260e54a350e4cf0b49f69dfd61baebfa8fb.zip | |
migration: make loadvm_postcopy_handle_resume() void
This is an incremental step in converting vmstate loading code to report error via Error objects instead of directly printing it to console/monitor. Use warn_report() instead of error_report(); it ensures that a resume command received while the migration is not in postcopy recover state is not fatal. It only informs that the command received is unusual, and therefore we should not set errp with the error string. Reviewed-by: Daniel P. Berrangé <berrange@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-13-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