|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command
On 10/07/2015 01:20 PM, George Dunlap wrote: On 07/10/15 12:09, Ian Campbell wrote:On Wed, 2015-10-07 at 11:10 +0100, George Dunlap wrote:So IMHO xl usb-assignable-list should behave like pci-assignable-list by default.I don't think that's really suitable.Then I'm terribly confused because I thought that is what you were initially advocating.I think in v3 I was trying to come up with a different name (usb-available-list or something); but my main point was that it *shouldn't* be named similarly but have different functionality. As I said, for this am I was ready to just let it slide; I just wanted to make sure other people knew what was being let slide. :-)[...]For USB, there is no "assignable" stage -- "usb-attach" will take it all the way from being assigned to a driver to being assigned to the guest. (You can think of this as pci-attach with "seize=1" always.) So making "usb-assignable-list" act like "pci-assignable-list" doesn't actually make any sense.Thanks. Jeurgen has also explained this. Do you agree that adding a dummy usbback driver just for the purposes of adding this extra "assignable" state doesn't make sense?Yes, I agree.Now, maybe it should also support some sort of --all or --full or --host option which lists everything, ideally with some indication as to whether they are attached to usbback or not and using syntax which can just be cut -and-pasted into a cfg file (without at least one of those it's just a pointless reimplementation of lsusb). However I think --all/full/host is an optional extra.Juergen suggested having "usb-list" have an --all option in the v3 discussion. If like me you're concerned about confusing people, then having --all and --host is probably the best option. Thoughts? Exactly. BTW: I've explained that in another reply, but my mail client has chosen to send it via another account - I've no idea how that happened. So now my wife has some xen-devel history as well. ;-) Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |