[Spice-devel] [PATCH spice-server v4 0/4] Better handling reset for streaming device

Christophe de Dinechin cdupontd at redhat.com
Tue Jan 30 14:23:40 UTC 2018



> On 30 Jan 2018, at 12:56, Frediano Ziglio <fziglio at redhat.com> wrote:
> 
>> 
>> Hi Frediano,
>> 
>> 
>> 
>>> On 30 Jan 2018, at 11:50, Frediano Ziglio <fziglio at redhat.com> wrote:
>>> 
>>> ping the series
>> 
>> I’m currently looking at it. Is it supposed to fix the read errors I had when
>> restarting the streaming agent?
>> 
> 
> Yes, make the reset more stable.
> When you close the device the state will be more consistent allowing
> basically to kill the process using the device in any state and opening
> again. Obviously if you continue to send wrong commands the device will
> keep rejecting them.
> 
> I tried to reproduce the issues reported on IRC and these helped me,
> now I avoid entirely to reboot the guest.

OK, right now I get a QEMU crash whenever I do any kind of activity
(the keyboard seems to be what triggers it).

I’m trying to reproduce on master to see if your patch is the cause.
That host has gone through some unusual nastiness, and may be
in a geborked state.

Will keep you posted.


Christophe

> 
> The tests (manual at the beginning) I did were coded into unit tests
> so you could try it and will help to avoid these conditions in the
> future.
> 
>> 
>> Thanks
>> Christophe
>> 
> 
> Frediano
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list