[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v3 02/13] migration: migrate icount fields.
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [RFC PATCH v3 02/13] migration: migrate icount fields. |
Date: |
Tue, 10 Jun 2014 11:50:18 +0530 |
On (Fri) 16 May 2014 [17:00:37], address@hidden wrote:
> From: KONRAD Frederic <address@hidden>
>
> 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 <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
> +static bool icount_state_needed(void *opaque)
> +{
> + return (use_icount != 0);
> +}
You can just say 'return use_icount;' here instead.
Amit
- Re: [Qemu-devel] [RFC PATCH v3 02/13] migration: migrate icount fields.,
Amit Shah <=