diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-03-20 07:48:59 +0100 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-04-23 18:36:01 -0400 |
commit | 150da48cb28ff68ca51b5ab26c6d930bad60a460 (patch) | |
tree | a18217b7ec4126cb4acd40fbb96d47e84145f10d /scripts/qapi | |
parent | 31cf7c1413db6c8fba6d9e73d77e4ab6faee0408 (diff) | |
download | qemu-150da48cb28ff68ca51b5ab26c6d930bad60a460.zip qemu-150da48cb28ff68ca51b5ab26c6d930bad60a460.tar.gz qemu-150da48cb28ff68ca51b5ab26c6d930bad60a460.tar.bz2 |
migration: Always report an error in block_save_setup()
This will prepare ground for future changes adding an Error** argument
to the save_setup() handler. We need to make sure that on failure,
block_save_setup() always sets a new error.
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20240320064911.545001-4-clg@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions