|
From: | Frederic Konrad |
Subject: | Re: [Qemu-devel] [RFC PATCH v3 02/13] migration: migrate icount fields. |
Date: | Tue, 10 Jun 2014 14:12:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 10/06/2014 08:20, Amit Shah wrote:
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
Hi, Thanks for the review, I'll make this change. Fred
[Prev in Thread] | Current Thread | [Next in Thread] |