Re: [Spice-devel] [PATCH] usbredirparser: prevent endless recursion if interface_count == 0

2016-08-03 Thread Alon Levy
Thanks! On Wed, Aug 3, 2016, at 01:49 PM, Christophe Fergeau wrote: > Hey, > > I've pushed the patch now, thanks! > > Christophe > > On Tue, Jul 26, 2016 at 01:47:16PM +0300, Alon Levy wrote: > > On fedora 24 this function is tail optimized, resulting in a busy wait. > > > > This happens to

Re: [Spice-devel] [PATCH] usbredirparser: prevent endless recursion if interface_count == 0

2016-08-03 Thread Christophe Fergeau
Hey, I've pushed the patch now, thanks! Christophe On Tue, Jul 26, 2016 at 01:47:16PM +0300, Alon Levy wrote: > On fedora 24 this function is tail optimized, resulting in a busy wait. > > This happens to me with virt-manager running a win7 vm > > usbredir-0.7.1-2.fc24.x86_64 > --- > Hi Guys!

Re: [Spice-devel] [PATCH] usbredirparser: prevent endless recursion if interface_count == 0

2016-07-26 Thread Christophe Fergeau
Hey Alon, On Tue, Jul 26, 2016 at 01:47:16PM +0300, Alon Levy wrote: > On fedora 24 this function is tail optimized, resulting in a busy wait. > > This happens to me with virt-manager running a win7 vm Ah ok, probably goes with the call with interface_count == 0 in usbredirhost.c if

[Spice-devel] [PATCH] usbredirparser: prevent endless recursion if interface_count == 0

2016-07-26 Thread Alon Levy
On fedora 24 this function is tail optimized, resulting in a busy wait. This happens to me with virt-manager running a win7 vm usbredir-0.7.1-2.fc24.x86_64 --- Hi Guys! One liner to fix an issue I had with virt-manager - symptom is 100% cpu taken in it, stack traced to the problem fixed by