[libvirt] [PATCH v2] qemu: Don't overwrite errors by closefd in error paths