Re: [Qemu-devel] Bottom halves VS timers

2019-01-22 Thread Pavel Dovgalyuk
> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > On 22/01/19 08:15, Pavel Dovgalyuk wrote: > > Scheduling new BH does not create a signal for the vCPU to suspend the > > execution and process the main loop events (in record/replay we > > synchronize these two threads). > > I think the bug is t

Re: [Qemu-devel] Bottom halves VS timers

2019-01-22 Thread Paolo Bonzini
On 22/01/19 08:15, Pavel Dovgalyuk wrote: > Scheduling new BH does not create a signal for the vCPU to suspend the > execution and process the main loop events (in record/replay we > synchronize these two threads). I think the bug is that in rr mode it should do so and cause a cpu_exit. If replac

[Qemu-devel] Bottom halves VS timers

2019-01-21 Thread Pavel Dovgalyuk
Hi! I recently debugged record/replay for some platform which uses PIO access for IDE. Handlers for these operations are called through BHs. Scheduling new BH does not create a signal for the vCPU to suspend the execution and process the main loop events (in record/replay we synchronize th