[libvirt] [PATCH] Fix detection of errors in QEMU device_add command