]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move error reporting out of qemuDomainDefaultSCSIControllerModel()
authorAndrea Bolognani <abologna@redhat.com>
Fri, 9 Feb 2024 17:38:35 +0000 (18:38 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 4 Jul 2025 12:26:21 +0000 (14:26 +0200)
commit358b68f09dd910241bfc9033f57847f88b956c3c
tree1bc9134fd1cb4d5ce2241e2560750a8a199fa396
parent4518ff0f2447ba58d6bb200a0f90b39e220c2501
qemu: Move error reporting out of qemuDomainDefaultSCSIControllerModel()

We want this helper to work more like other similar ones, where
error reporting is performed by the caller. This introduces a
small amount of code duplication but makes for a cleaner API.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_postparse.c