Re: [libvirt] [PATCH 4/4] virDomainNetFind: Report error if no device found

2017-10-13 Thread John Ferlan
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 > --- > src/conf/domain_conf.c | 18 ++ > src/libxl/libxl_driver.c | 5 + > s

[libvirt] [PATCH 4/4] virDomainNetFind: Report error if no device found

2017-10-05 Thread Michal Privoznik
Every caller reports the error themselves. Might as well move it into the function and thus unify it. Signed-off-by: Michal Privoznik --- src/conf/domain_conf.c | 18 ++ src/libxl/libxl_driver.c | 5 + src/lxc/lxc_driver.c | 5 + src/openvz/openvz_driver.c |