]> xenbits.xensource.com Git - libvirt.git/commit
qemu_domain_address.c: turn qemuDomainFillDeviceIsolationGroup to void
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 9 Jan 2020 18:33:48 +0000 (15:33 -0300)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Jan 2020 14:25:33 +0000 (15:25 +0100)
commit44279037222fd2b78f147b8bc5cfe015ada2b8e1
tree5cf90098f5b231ce42d9250e09239ee3b2ba29e8
parent02ad5d23598426ad9d6ff19b78de4fe18755799c
qemu_domain_address.c: turn qemuDomainFillDeviceIsolationGroup to void

Starting on commit 1f43393283ff, qemuDomainFillDeviceIsolationGroup()
returns 0 in all circunstances. Let's turn it to 'void' make it
clearer that the function will not fail. This also spares a
check for < 0 return in qemu_hotplug.c. The
qemuDomainFillDeviceIsolationGroupIter() callback now returns
0 at all times - which is already happening anyway.

Refer to 1f43393283ff commit message for more details on why
the function was changed to never return an error.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain_address.c
src/qemu/qemu_domain_address.h
src/qemu/qemu_hotplug.c