[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call"
From: |
Clement Deschamps |
Subject: |
Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call" |
Date: |
Wed, 17 Oct 2018 19:22:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
Hi all,
I'm traveling right now, but as soon as I get home, I'll send my patch
with the signed-off.
Best,
Clément
On 10/17/18 7:43 AM, Paolo Bonzini wrote:
> On 17/10/2018 15:20, Pavel Dovgalyuk wrote:
>> I found the source of the bug. As QEMU becomes more multi-threaded
>> and non-synchronized, checkpoints move from thread to thread. And the
>> event queue that processed at checkpoints should belong to the same
>> thread in both record and replay executions.
>>
>> Current problem was with the checkpoint for virtual timers. They are
>> processed from different threads: from vCPU and from aio_dispatch
>> function.
>>
>> Therefore the following patch fixes the problem, but I think that
>> this part has to be refactored. There should be nailed-to-thread
>> events that process the event queue. Then checkpoints can become just
>> synchronization events and therefore omitted for empty timer lists,
>> for example.
> Can you add a FIXME comment and submit this as a full patch?
>
> Paolo
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", (continued)
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Paolo Bonzini, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Pavel Dovgalyuk, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Paolo Bonzini, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Pavel Dovgalyuk, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Alex Bennée, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Pavel Dovgalyuk, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Pavel Dovgalyuk, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Artem Pisarenko, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Pavel Dovgalyuk, 2018/10/18
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call", Paolo Bonzini, 2018/10/17
- Re: [Qemu-devel] [PATCH] Revert "icount: remove obsolete warp call",
Clement Deschamps <=