Hi On Tue, Aug 7, 2018 at 5:48 PM Gerd Hoffmann <kra...@redhat.com> wrote: > > On Fri, Aug 03, 2018 at 07:36:08PM +0200, Marc-André Lureau wrote: > > The Spice server doesn't like to be started or stopped twice . It > > aborts with: > > > > (process:6191): Spice-ERROR **: 19:29:35.912: > > red-worker.c:623:handle_dev_start: assertion `!worker->running' failed > > > > It's easy to avoid that situation since qemu spice_display_is_running > > tracks the server state. > > How do you trigger this? qemu should not do that in the first place.
After "[PATCH 06/10] spice: do not stop spice if VM is paused ", you can pause the VM and resume it (also through spice): it will call qemu_spice_display_start() twice. The easiest seems to add a check for spice_display_is_running, with this patch. -- Marc-André Lureau