On Mon, Aug 03, 2015 at 04:10:45PM +0300, Kirill Moizik wrote: > @@ -1575,8 +1585,20 @@ void spice_usb_device_manager_connect_device_async(SpiceUsbDeviceManager *self, > GAsyncReadyCallback callback, > gpointer user_data) > { > + g_return_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self)); > +#ifdef USE_USBREDIR > + g_return_if_fail(self->priv->redirecting == FALSE); > + g_object_set(self,"redirecting", TRUE, NULL); > +#ifndef USE_LIBUSB_HOTPLUG > + spice_g_udev_set_redirecting(TRUE); > +#endif Fwiw, this is going to break on linux when libusb hotplug is not in use. Christophe
Attachment:
pgphpDUV3WqcS.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel