From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJM89-0003w9-KP for qemu-devel@nongnu.org; Thu, 05 Feb 2015 08:06:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJM83-0001GY-FL for qemu-devel@nongnu.org; Thu, 05 Feb 2015 08:06:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJM83-0001GK-81 for qemu-devel@nongnu.org; Thu, 05 Feb 2015 08:05:55 -0500 Message-ID: <54D36AAC.4010500@redhat.com> Date: Thu, 05 Feb 2015 14:05:48 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <201502051933093705711@sangfor.com.cn> <54D35566.1070704@redhat.com> <8761bg5xr1.fsf@neno.neno> In-Reply-To: <8761bg5xr1.fsf@neno.neno> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com Cc: Amit Shah , Zhang Haoyu , qemu-devel , "Michael S.Tsirkin" On 05/02/2015 13:49, Juan Quintela wrote: >> > It would be nice if registering a subsection automatically caught >> > wrongly-named ones... > You are right here. > > THere is another check that I would like, that we only have subsections > at the top livel. You mean not inside structs? IIRC that would fail. Paolo