Re: [Qemu-devel] [RFC PATCH v2 11/19] replay: flush events when exitting

2018-04-30 Thread Eric Blake
On 04/28/2018 07:37 AM, Pavel Dovgalyuk wrote: In the subject: s/exitting/exiting/ This patch adds events processing when emulation finishes instead of just cleaning the queue. Now the bdrv coroutines will be in consistent state when emulator closes. It allows correct polling of the block layer

[Qemu-devel] [RFC PATCH v2 11/19] replay: flush events when exitting

2018-04-28 Thread Pavel Dovgalyuk
This patch adds events processing when emulation finishes instead of just cleaning the queue. Now the bdrv coroutines will be in consistent state when emulator closes. It allows correct polling of the block layer at exit. Signed-off-by: Pavel Dovgalyuk --- replay/replay-events.c | 14 +--