[libvirt] [PATCH 4/8] Convert drivers to thread safe APIs for adding callbacks