Re: [Spice-devel] [PATCH usbredir] Don't print warning when resetting a missing device

2017-08-10 Thread Frediano Ziglio
> > When usbredirhost clears the current device, it resets the device and > attempts to re-attach the kernel driver for the device. The current > device is cleared when the API user explicitly sets a new device with > usbredirhost_set_device(). However, some API users call > usbredirhost_set_dev

[Spice-devel] [PATCH usbredir] Don't print warning when resetting a missing device

2017-08-10 Thread Jonathon Jongsma
When usbredirhost clears the current device, it resets the device and attempts to re-attach the kernel driver for the device. The current device is cleared when the API user explicitly sets a new device with usbredirhost_set_device(). However, some API users call usbredirhost_set_device(..., NULL