From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH V7 6/7] xl: add usb-assignable-list command Date: Wed, 7 Oct 2015 13:51:07 +0100 Message-ID: <1444222267.1410.26.camel@citrix.com> References: <1443147102-6471-1-git-send-email-cyliu@suse.com> <1443147102-6471-7-git-send-email-cyliu@suse.com> <5613FCE7.5080002@citrix.com> <1444207207.5302.269.camel@citrix.com> <1444216188.5302.333.camel@citrix.com> <5614FFF1.20304@citrix.com> <56150132.1040305@suse.com> <1444217988.1410.15.camel@citrix.com> <561506C5.6050205@suse.com> <1444218902.1410.25.camel@citrix.com> <56150A6C.2080101@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <56150A6C.2080101@suse.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: Juergen Gross , George Dunlap , George Dunlap Cc: Ian Jackson , Jim Fehlig , Wei Liu , Chunyan Liu , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2015-10-07 at 14:05 +0200, Juergen Gross wrote: > On 10/07/2015 01:55 PM, Ian Campbell wrote: > > On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: > > > BTW: In case you don't have the --host option it would be nice to > > > omit > > > --all as well and just assume --all when no domain was specified > > > (like > > > xl list). > > > > I think "xl usb-list" should list the devices attached to all domains, > > for > > sure. I'm ambivalent about whether it also lists unattached devices (in > > which case --all is unnecessary) or if --all is required to get those. > > I'd go for nuking the --all option. I suppose xl usb-list without > specifying a domain will nearly always be used to see the unassigned > devices and not "uuh, to which domain did I assign device x?". I think that is probably true. Ian