[Libguestfs] [PATCH] Add global mutex around each C call