summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorHet Gala <het.gala@nutanix.com>2023-12-05 08:00:39 +0000
committerPeter Xu <peterx@redhat.com>2024-01-16 11:16:09 +0800
commit0770ad438d95f4b9636a99b522b6e5e6af724578 (patch)
tree106c4d196abbe58e8e8b63f606ae926b55344cc1 /docs/devel/secure-coding-practices.rst
parent977542ded7e6b28d2bc077bcda24568c716e393c (diff)
downloadfocaccia-qemu-0770ad438d95f4b9636a99b522b6e5e6af724578.tar.gz
focaccia-qemu-0770ad438d95f4b9636a99b522b6e5e6af724578.zip
migration: Simplify initial conditionals in migration for better readability
The inital conditional statements in qmp migration functions is harder
to understand than necessary. It is better to get all errors out of
the way in the beginning itself to have better readability and error
handling.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20231205080039.197615-1-het.gala@nutanix.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