[libvirt] [RFC PATCH 0/4] Deadlock fix and some minor fixes