[libvirt] [PATCH 07/47] vircgroup: extract v1 detect functions