Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-20 Thread Chun Yan Liu
>>> On 3/7/2015 at 12:50 AM, in message , George Dunlap wrote: > On Mon, Jan 19, 2015 at 8:28 AM, Chunyan Liu wrote: > > diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h > > index 0a123f1..2e89244 100644 > > --- a/tools/libxl/libxl.h > > +++ b/tools/libxl/libxl.h > > > +int libxl_

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-17 Thread Juergen Gross
Hi Chunyan, I've found another problem while trying to write a qemu based pvUSB backend. On 01/19/2015 09:28 AM, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list assignable usb devices in host - some

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-09 Thread Ian Campbell
On Mon, 2015-03-09 at 10:17 +, George Dunlap wrote: > On 03/09/2015 09:39 AM, Ian Campbell wrote: > > On Fri, 2015-03-06 at 16:50 +, George Dunlap wrote: > >>> +libxl_device_usb * > >>> +libxl_device_usb_assignable_list(libxl_ctx *ctx, int *num) > >> > >> I'm a bit ambivalent about this one

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-09 Thread George Dunlap
On 03/09/2015 09:39 AM, Ian Campbell wrote: > On Fri, 2015-03-06 at 16:50 +, George Dunlap wrote: >>> +libxl_device_usb * >>> +libxl_device_usb_assignable_list(libxl_ctx *ctx, int *num) >> >> I'm a bit ambivalent about this one. For people using xl, "lsusb" >> should be just fine. Is anyone b

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-09 Thread Ian Campbell
On Fri, 2015-03-06 at 16:50 +, George Dunlap wrote: > > +libxl_device_usb * > > +libxl_device_usb_assignable_list(libxl_ctx *ctx, int *num) > > I'm a bit ambivalent about this one. For people using xl, "lsusb" > should be just fine. Is anyone building a toolstack on top of libxl > directly g

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-06 Thread George Dunlap
On Mon, Jan 19, 2015 at 8:28 AM, Chunyan Liu wrote: > diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h > index 0a123f1..2e89244 100644 > --- a/tools/libxl/libxl.h > +++ b/tools/libxl/libxl.h > +int libxl_intf_to_device_usb(libxl_ctx *ctx, uint32_t domid, > +char

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-03 Thread Chun Yan Liu
>>> On 3/3/2015 at 07:38 PM, in message <1425382696.24959.112.ca...@citrix.com>, Ian Campbell wrote: > On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: > > Add pvusb APIs, including: > > - attach/detach (create/destroy) virtual usb controller. > > - attach/detach usb device > > - li

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-03 Thread Ian Campbell
On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: > Add pvusb APIs, including: > - attach/detach (create/destroy) virtual usb controller. > - attach/detach usb device > - list assignable usb devices in host > - some other helper functions > > Signed-off-by: Chunyan Liu > Signed-off-by: Si

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-02-10 Thread Jürgen Groß
Just found other issues: On 01/19/2015 09:28 AM, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list assignable usb devices in host - some other helper functions Signed-off-by: Chunyan Liu Signed-off-b

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-02-10 Thread Jürgen Groß
On 01/19/2015 09:28 AM, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list assignable usb devices in host - some other helper functions Signed-off-by: Chunyan Liu Signed-off-by: Simon Cao --- tools/

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-01-28 Thread Chun Yan Liu
>>> On 1/28/2015 at 11:54 PM, in message <1422460493.5187.28.ca...@citrix.com>, >>> Ian Campbell wrote: > On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: > > tools/libxl/libxlu_cfg_y.c | 464 --- > > tools/libxl/libxlu_cfg_y.h | 38 +- > > I think these are spurio

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-01-28 Thread Ian Campbell
On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: > tools/libxl/libxlu_cfg_y.c | 464 --- > tools/libxl/libxlu_cfg_y.h | 38 +- I think these are spurious changes caused by you having different versions of flex/bison installed, could you arrange to omit these please.

[Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-01-19 Thread Chunyan Liu
Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list assignable usb devices in host - some other helper functions Signed-off-by: Chunyan Liu Signed-off-by: Simon Cao --- tools/libxl/Makefile |2 +- tools/libxl/libx