Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 05:03 PM, George Dunlap wrote: On 07/10/15 15:47, Juergen Gross wrote: On 10/07/2015 04:35 PM, George Dunlap wrote: On Wed, Oct 7, 2015 at 3:26 PM, Juergen Gross wrote: On 10/07/2015 04:05 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: Hmm, t

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 15:47, Juergen Gross wrote: > On 10/07/2015 04:35 PM, George Dunlap wrote: >> On Wed, Oct 7, 2015 at 3:26 PM, Juergen Gross wrote: >>> On 10/07/2015 04:05 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: > Hmm, technically all unassigne

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 04:35 PM, George Dunlap wrote: On Wed, Oct 7, 2015 at 3:26 PM, Juergen Gross wrote: On 10/07/2015 04:05 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: Hmm, technically all unassigned USB-devices are usable from Dom0. So why not list them there.

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On Wed, Oct 7, 2015 at 3:26 PM, Juergen Gross wrote: > On 10/07/2015 04:05 PM, Ian Campbell wrote: >> >> On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: >> >>> Hmm, technically all unassigned USB-devices are usable from Dom0. So why >>> not list them there. >> >> >> I think you'd at least

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 04:05 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: Hmm, technically all unassigned USB-devices are usable from Dom0. So why not list them there. I think you'd at least want to distinguish USB devices available to dom0 as via a PCI host controll

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 14:54, Juergen Gross wrote: > On 10/07/2015 03:21 PM, George Dunlap wrote: >> On 07/10/15 13:05, 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: > On 10/07/2015 01:39 PM, Ian Campbell wrote: >> On

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: > Hmm, technically all unassigned USB-devices are usable from Dom0. So why > not list them there. I think you'd at least want to distinguish USB devices available to dom0 as via a PCI host controller from those which are available via pvusb.

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 03:21 PM, George Dunlap wrote: On 07/10/15 13:05, 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: On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "us

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 13:05, 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: >>> On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: >> The "usb-assignable-list" that Chunyan

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
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 doma

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:55 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "usb-assignable-list" that Chunyan has submitted will give you a list of all dom0 USB devi

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: > On 10/07/2015 01:39 PM, Ian Campbell wrote: > > On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > > > The "usb-assignable-list" that Chunyan has submitted will give you > > > > a > > > > list of all dom0 USB devices that have not y

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "usb-assignable-list" that Chunyan has submitted will give you a list of all dom0 USB devices that have not yet been assigned to a guest. It should be basically equivalent to "lsusb", excep

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 12:37 +0100, Ian Campbell wrote: > On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > > 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-d

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:37 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: 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. ;-)

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > The "usb-assignable-list" that Chunyan has submitted will give you a > > list of all dom0 USB devices that have not yet been assigned to a guest. > > It should be basically equivalent to "lsusb", except that it filters > > out devices wh

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > 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. ;-) It's stuck in moderation (I suppose) and I

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 12:25, Juergen Gross wrote: > 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. >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
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 bec

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
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 yo

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
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. [...] > For USB,

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Christiane Groß
On 10/07/2015 12:10 PM, George Dunlap wrote: On Wed, Oct 7, 2015 at 9:40 AM, Ian Campbell wrote: On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: On 25/09/15 03:11, Chunyan Liu wrote: Add xl usb-assignable-list command to list assignable USB devices. Assignable USB device means the USB

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 11:10, George Dunlap wrote: > The reason I left the two-stage thing for pci devices was that I was > afraid that setting "seize=1" by default would be too dangerous: it > would be to easy for a missed keystroke or a typo to bring down the > system. And as I've said before, "present me"

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On Wed, Oct 7, 2015 at 9:40 AM, Ian Campbell wrote: > On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: >> On 25/09/15 03:11, Chunyan Liu wrote: >> > Add xl usb-assignable-list command to list assignable USB devices. >> > Assignable USB device means the USB device type is assignable and >> >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 11:55 +0200, Juergen Gross wrote: > On 10/07/2015 10:40 AM, Ian Campbell wrote: > > On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: > > > On 25/09/15 03:11, Chunyan Liu wrote: > > > > Add xl usb-assignable-list command to list assignable USB devices. > > > > Assignable

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 10:40 AM, Ian Campbell wrote: On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: On 25/09/15 03:11, Chunyan Liu wrote: Add xl usb-assignable-list command to list assignable USB devices. Assignable USB device means the USB device type is assignable and it's not assigned to any

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: > On 25/09/15 03:11, Chunyan Liu wrote: > > Add xl usb-assignable-list command to list assignable USB devices. > > Assignable USB device means the USB device type is assignable and > > it's not assigned to any guest yet. > > > > Signed-off-by

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-06 Thread George Dunlap
On 25/09/15 03:11, Chunyan Liu wrote: > Add xl usb-assignable-list command to list assignable USB devices. > Assignable USB device means the USB device type is assignable and > it's not assigned to any guest yet. > > Signed-off-by: Chunyan Liu > > --- > Same as "libxl: add libxl_device_usb_ass

[Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-09-24 Thread Chunyan Liu
Add xl usb-assignable-list command to list assignable USB devices. Assignable USB device means the USB device type is assignable and it's not assigned to any guest yet. Signed-off-by: Chunyan Liu --- Same as "libxl: add libxl_device_usb_assignable_list API" patch, this patch could be sqaushe