• J
    Move error reporting into virDomainNetFindIdx · 2fbae1b2
    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 virDomainNetFindIdx, since in both cases,
    we couldn't find one single match - it's just the error messages that
    differ.
    2fbae1b2
qemu_hotplug.c 124.0 KB