]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainNetFind: Report error if no device found
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Oct 2017 20:40:47 +0000 (13:40 -0700)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Oct 2017 20:46:36 +0000 (13:46 -0700)
commite3909729d277c313f6093b5ff78594d8107721d2
treee2c2abddada3f8f2f5479b56d62f4cfaed303d2e
parent24796f2710f48d93ab360b950d28b121876975d5
virDomainNetFind: Report error if no device found

Every caller reports the error themselves. Might as well move it
into the function and thus unify it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/test/test_driver.c
src/xen/xen_driver.c