Re: [libvirt] [PATCH 1/2] Move error reporting into virDomainNetFindIdx

2014-04-02 Thread Laine Stump
On 04/01/2014 06:11 PM, Ján Tomko wrote: Every caller checked the return value and logged an error - one if no device with the specified MAC was found, other if there were multiple devices matching the MAC address (except for qemuDomainUpdateDeviceConfig which logged the same message in both

[libvirt] [PATCH 1/2] Move error reporting into virDomainNetFindIdx

2014-04-01 Thread Ján Tomko
Every caller checked the return value and logged an error - one if no device with the specified MAC was found, other if there were multiple devices matching the MAC address (except for qemuDomainUpdateDeviceConfig which logged the same message in both cases). Move the error reporting into