[libvirt] [PATCH 04/10] qemu: agent: handle agent connection errors in one place