[PATCH v2 6/6] virsh: volume: refactor cmdVolInfo()