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

Frediano Ziglio fziglio at redhat.com
Tue Jan 30 11:56:22 UTC 2018


> 
> 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.

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


More information about the Spice-devel mailing list