[libvirt] [PATCH 4/4] virDomainNetFind: Report error if no device found
John Ferlan
jferlan at redhat.com
Fri Oct 13 17:57:39 UTC 2017
On 10/05/2017 10:18 AM, Michal Privoznik wrote:
> Every caller reports the error themselves. Might as well move it
> into the function and thus unify it.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/conf/domain_conf.c | 18 ++++++++++--------
> src/libxl/libxl_driver.c | 5 +----
> src/lxc/lxc_driver.c | 5 +----
> src/openvz/openvz_driver.c | 5 +----
> src/qemu/qemu_driver.c | 21 ++++-----------------
> src/test/test_driver.c | 5 +----
> src/xen/xen_driver.c | 5 +----
> 7 files changed, 19 insertions(+), 45 deletions(-)
>
As noted eariler, I think this patch should go earlier thus affecting
less files to change in the long run.
With the adjustment,
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list