aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2024-03-20 07:48:58 +0100
committerPeter Xu <peterx@redhat.com>2024-04-23 18:36:01 -0400
commit31cf7c1413db6c8fba6d9e73d77e4ab6faee0408 (patch)
treebcced68ad2243df6933e7d7afe3a451f9426d72c /scripts/qapi/source.py
parente86f243487ed8cf71eddfe9b28eb8109d09556af (diff)
downloadqemu-31cf7c1413db6c8fba6d9e73d77e4ab6faee0408.zip
qemu-31cf7c1413db6c8fba6d9e73d77e4ab6faee0408.tar.gz
qemu-31cf7c1413db6c8fba6d9e73d77e4ab6faee0408.tar.bz2
vfio: Always report an error in vfio_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, vfio_save_setup() always sets a new error. Reviewed-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/r/20240320064911.545001-3-clg@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions