[libvirt] [PATCH 09/14] rpc: Merge critical sections and preparations for upcoming patches