[libvirt] [PATCH] qemu: make sure agent returns error when required data are missing