On 10/06/2014 08:20, Amit Shah wrote:
On (Fri) 16 May 2014 [17:00:37], fred.kon...@greensocs.com wrote:
From: KONRAD Frederic <fred.kon...@greensocs.com>

This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
It adds a subsection "timer/icount" to vmstate_timers so icount is migrated only
when needed.

Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com>
Reviewed-by: Amit Shah <amit.s...@redhat.com>

+static bool icount_state_needed(void *opaque)
+{
+    return (use_icount != 0);
+}
You can just say 'return use_icount;' here instead.

                Amit

Hi,

Thanks for the review, I'll make this change.

Fred

Reply via email to