[libvirt] [PATCH] threads: add one-time initialization support