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