Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-21 Thread Christophe Fergeau
On Mon, Jan 21, 2019 at 04:10:20PM +0200, Yuri Benditovich wrote: > On Fri, Jan 18, 2019 at 3:53 PM Christophe Fergeau > wrote: > > > If you point me at a branch with all your patches applied including this > > one, I can try to help with some of the preparatory commits/some of the > >

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-21 Thread Yuri Benditovich
On Fri, Jan 18, 2019 at 3:53 PM Christophe Fergeau wrote: > On Fri, Jan 18, 2019 at 10:23:04AM +0200, Yuri Benditovich wrote: > > On Wed, Jan 16, 2019 at 6:11 PM Christophe Fergeau > > wrote: > > > > > On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > > > > On Mon, Nov 26,

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-21 Thread Yuri Benditovich
On Tue, Jan 15, 2019 at 4:52 PM Christophe Fergeau wrote: > Hey, > > On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > > > > > > > if (!priv->host) > > > > -g_error("Out of memory allocating usbredirhost"); > > > > +g_error("Out of memory initializing

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-18 Thread Christophe Fergeau
On Fri, Jan 18, 2019 at 10:23:04AM +0200, Yuri Benditovich wrote: > On Wed, Jan 16, 2019 at 6:11 PM Christophe Fergeau > wrote: > > > On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > > > On Mon, Nov 26, 2018 at 7:41 PM Christophe Fergeau > > > wrote: > > > > In

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-18 Thread Yuri Benditovich
On Wed, Jan 16, 2019 at 6:11 PM Christophe Fergeau wrote: > On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > > On Mon, Nov 26, 2018 at 7:41 PM Christophe Fergeau > > wrote: > > > In _SpiceUsbDeviceManagerPrivate, you replaced > > > #ifndef G_OS_WIN32 > > > libusb_device

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-16 Thread Christophe Fergeau
On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > On Mon, Nov 26, 2018 at 7:41 PM Christophe Fergeau > wrote: > > In _SpiceUsbDeviceManagerPrivate, you replaced > > #ifndef G_OS_WIN32 > > libusb_device *libdev; > > #endif > > > > with > > > > #ifndef G_OS_WIN32 > >

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-15 Thread Christophe Fergeau
Hey, On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > > > > > if (!priv->host) > > > -g_error("Out of memory allocating usbredirhost"); > > > +g_error("Out of memory initializing redirection support"); > > > > > > -#if USBREDIR_VERSION >= 0x000701 > > > -

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2018-11-26 Thread Christophe Fergeau
On Sun, Sep 30, 2018 at 06:13:04PM +0300, Yuri Benditovich wrote: > This layer communicates with libusb and libusbredir and > provides the API for USB redirection procedures. > All the modules of spice-gtk communicate only with usb > backend instead of calling libusb and usbredirhost directly. >

[Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2018-09-30 Thread Yuri Benditovich
This layer communicates with libusb and libusbredir and provides the API for USB redirection procedures. All the modules of spice-gtk communicate only with usb backend instead of calling libusb and usbredirhost directly. This is prerequisite of further implementation of cd-sharing via USB