[libvirt] [PATCH 2/9] conf: code cleanup for return error code directly