[libvirt] [PATCH v3 2/5] storage: util: Split out the gluster volume extraction code into new function