Received: from eggs.gnu.org ([2001:4830:134:3::10]:51899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fn3K2-0005z0-2i for qemu-devel@nongnu.org; Tue, 07 Aug 2018 10:50:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fn3K1-0002hC-BC for qemu-devel@nongnu.org; Tue, 07 Aug 2018 10:50:54 -0400 From: Juan Quintela In-Reply-To: (Peter Maydell's message of "Tue, 7 Aug 2018 15:45:09 +0100") References: <20180806123445.1459-1-peter.maydell@linaro.org> <20180806123445.1459-4-peter.maydell@linaro.org> <87600m2qb2.fsf@trasno.org> Reply-To: quintela@redhat.com Date: Tue, 07 Aug 2018 16:50:42 +0200 Message-ID: <87sh3q1b99.fsf@trasno.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-3.0 v2 3/5] target/arm: Add dummy needed functions to M profile vmstate subsections List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-arm , QEMU Developers , "patches@linaro.org" , "Dr . David Alan Gilbert" , Shannon Zhao , Shannon Zhao Peter Maydell wrote: > On 7 August 2018 at 15:40, Juan Quintela wrote: >> But having 3 subsections with the same needed function ... we could have >> a single subsection. > > I wanted to keep the change small here since we're very > late in the release cycle, so I kept it to a change > that restores the intent of the code, ie "always transfer > the subsection". ok with minimizing changes. But I can't understand why that is going that way. Seeing this, I am making a patch that at registration time check that we are not doing something stupid, like not having needed function, bad names, whatever. Thanks.