qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 04/10] spice: avoid spice runtime assert


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [PATCH 04/10] spice: avoid spice runtime assert
Date: Wed, 28 Nov 2018 15:04:12 +0400

Hi
On Tue, Aug 7, 2018 at 5:48 PM Gerd Hoffmann <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]