Received: from eggs.gnu.org ([2001:4830:134:3::10]:59191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJLrk-0003vR-VX for qemu-devel@nongnu.org; Thu, 05 Feb 2015 07:49:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJLrg-0004Q7-0E for qemu-devel@nongnu.org; Thu, 05 Feb 2015 07:49:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJLrf-0004Pm-Pp for qemu-devel@nongnu.org; Thu, 05 Feb 2015 07:48:59 -0500 From: Juan Quintela In-Reply-To: <201502051933093705711@sangfor.com.cn> (Zhang Haoyu's message of "Thu, 5 Feb 2015 19:33:11 +0800") References: <201502051933093705711@sangfor.com.cn> Date: Thu, 05 Feb 2015 13:48:55 +0100 Message-ID: <87a90s5xs8.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: Paolo Bonzini , qemu-devel , "Michael S.Tsirkin" "Zhang Haoyu" wrote: > fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail > during incoming migration or loadvm. > > Signed-off-by: Zhang Haoyu > --- > hw/timer/mc146818rtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c > index 5a107fa..0600c9a 100644 > --- a/hw/timer/mc146818rtc.c > +++ b/hw/timer/mc146818rtc.c > @@ -734,7 +734,7 @@ static int rtc_post_load(void *opaque, int version_id) > } > > static const VMStateDescription vmstate_rtc_irq_reinject_on_ack_count = { > - .name = "irq_reinject_on_ack_count", > + .name = "mc146818rtc/irq_reinject_on_ack_count", > .version_id = 1, > .minimum_version_id = 1, > .fields = (VMStateField[]) { Ack applied to my tree.