[libvirt] [PATCH v2 06/13] qemu: unify code for reporting errors from QEMU log files