From: Wei Liu Subject: Re: [PATCH v3 3/3] xl: add support for channels Date: Mon, 23 Jun 2014 11:02:05 +0100 Message-ID: <20140623100205.GB12705@zion.uk.xensource.com> References: <1403512141-12283-1-git-send-email-dave.scott@citrix.com> <1403512141-12283-4-git-send-email-dave.scott@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wz1Cx-0004ou-Pm for xen-devel@lists.xenproject.org; Mon, 23 Jun 2014 10:10:39 +0000 Content-Disposition: inline In-Reply-To: <1403512141-12283-4-git-send-email-dave.scott@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Scott Cc: xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com, ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Jun 23, 2014 at 09:29:01AM +0100, David Scott wrote: [...] > +int main_channellist(int argc, char **argv) > +{ > + int opt; > + libxl_device_channel *channels; > + libxl_channelinfo channelinfo; > + int nb, i; > + > + SWITCH_FOREACH_OPT(opt, "", NULL, "channel-list", 1) { > + /* No options */ > + } > + > + /* Idx BE MAC Hdl Sta evch txr/rxr BE-path */ Minor nit. This comment is not acurate. Wei. > + printf("%-3s %-2s %-5s %-6s %8s %-10s %-30s\n", > + "Idx", "BE", "state", "evt-ch", "ring-ref", "kind", "");