[libvirt] [PATCH 0/3] Fix coverity issues introduced by qemuagenttest and the refactor