Re: [Qemu-devel] [PATCH] cpu: init vmstate for ticks and clock offset

2014-09-01 Thread Paolo Bonzini
Il 01/09/2014 07:34, Pavel Dovgalyuk ha scritto: > Ticks and clock offset used by CPU timers have to be saved in vmstate. > But vmstate for these fields registered only in icount mode. > Missing registration leads to breaking the continuity when vmstate is loaded. > This patch introduces new initia

[Qemu-devel] [PATCH] cpu: init vmstate for ticks and clock offset

2014-08-31 Thread Pavel Dovgalyuk
Ticks and clock offset used by CPU timers have to be saved in vmstate. But vmstate for these fields registered only in icount mode. Missing registration leads to breaking the continuity when vmstate is loaded. This patch introduces new initialization function which fixes this. Signed-off-by: Pavel