[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 07/10] replay: allow replay stopping and rest
From: |
Pavel Dovgalyuk |
Subject: |
Re: [Qemu-devel] [PATCH v2 07/10] replay: allow replay stopping and restarting |
Date: |
Fri, 16 Sep 2016 09:35:40 +0300 |
> From: Paolo Bonzini [mailto:address@hidden On Behalf Of Paolo Bonzini
> On 15/09/2016 11:01, Pavel Dovgalyuk wrote:
> > This patch fixes bug with stopping and restarting replay
> > through monitor.
> >
> > Signed-off-by: Pavel Dovgalyuk <address@hidden>
> > ---
> > diff --git a/vl.c b/vl.c
> > index f2193cb..32155f5 100644
> > --- a/vl.c
> > +++ b/vl.c
> > @@ -746,6 +746,7 @@ void vm_start(void)
> > if (runstate_is_running()) {
> > qapi_event_send_stop(&error_abort);
> > } else {
> > + replay_enable_events();
>
> Can this be done with a change state notifier?
We have to be sure that events are enabled before any of the callbacks will try
to
use events subsystem. Therefore enabling events must be the first thing to do.
Pavel Dovgalyuk
- Re: [Qemu-devel] [PATCH v2 04/10] replay: save/load initial state, (continued)
[Qemu-devel] [PATCH v2 05/10] replay: move internal data to the structure, Pavel Dovgalyuk, 2016/09/15
[Qemu-devel] [PATCH v2 06/10] replay: vmstate for replay module, Pavel Dovgalyuk, 2016/09/15
[Qemu-devel] [PATCH v2 07/10] replay: allow replay stopping and restarting, Pavel Dovgalyuk, 2016/09/15
[Qemu-devel] [PATCH v2 09/10] pcspk: adding vmstate for save/restore, Pavel Dovgalyuk, 2016/09/15
[Qemu-devel] [PATCH v2 08/10] kvmvapic: fix state change handler, Pavel Dovgalyuk, 2016/09/15
[Qemu-devel] [PATCH v2 10/10] integratorcp: adding vmstate for save/restore, Pavel Dovgalyuk, 2016/09/15
Re: [Qemu-devel] [PATCH v2 00/10] replay additions, Paolo Bonzini, 2016/09/15