[libvirt] [RFC PATCH 3/4] Add primitives for manipulation of dependency structures