[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: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2 07/10] replay: allow replay stopping and restarting |
Date: |
Fri, 16 Sep 2016 10:55:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 16/09/2016 08:35, Pavel Dovgalyuk wrote:
>> 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.
Ok.
Paolo
- 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