[Libguestfs] [PATCH v3 REPOST 3/5] threads: Use thread-local storage for errors.