[Qemu-devel] [PATCH v7 18/19] replay: init rtc after enabling the replay

2018-10-10 Thread Pavel Dovgalyuk
This patch postpones the call of 'configure_rtc' function. This call uses host clock to configure the rtc, but host clock access should be recorded when using icount record/replay mode. Therefore now rtc is configured after switching record/replay mode on. Signed-off-by: Pavel Dovgalyuk --- vl.c

Re: [Qemu-devel] [PATCH v7 18/19] replay: init rtc after enabling the replay

2018-10-11 Thread Artem Pisarenko
I guess 'configure_rtc' function is not the only one which call should be postponed. Since record/replay uses its 'hooks' at very low levels of qemu core, any option processing is subject to potential indirect dependence on effects of 'replay_configure' call. The most apparent example would be 'qem