Re: [libvirt] [PATCH 1/2] qemu: Remove dead code

2016-05-23 Thread Ján Tomko
On Fri, May 20, 2016 at 10:21:47AM -0400, John Ferlan wrote: > Since commit id '20a0fa8e' removed the QEMU_CAPS_DEVICE, Coverity notes > that it's no longer possible to have 'addrs' be NULL when checking for > a live domain since qemuDomainPCIAddressSetCreate would have jumped to > cleanup if addrs

[libvirt] [PATCH 1/2] qemu: Remove dead code

2016-05-20 Thread John Ferlan
Since commit id '20a0fa8e' removed the QEMU_CAPS_DEVICE, Coverity notes that it's no longer possible to have 'addrs' be NULL when checking for a live domain since qemuDomainPCIAddressSetCreate would have jumped to cleanup if addrs was NULL. Signed-off-by: John Ferlan --- src/qemu/qemu_domain_add