[libvirt] [PATCH] qemu: check for active domain after agent interaction