[Libguestfs] [PATCH nbdkit 2/3] python: Allow thread model to be set from Python code.