From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2ur-0004Qv-Uy for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:32:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2uX-00027j-6q for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:32:13 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:59387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2uW-00027b-UE for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:31:53 -0400 Received: by pbcuo5 with SMTP id uo5so247353pbc.4 for ; Tue, 20 Mar 2012 10:31:50 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4F68BEFD.4030109@redhat.com> Date: Tue, 20 Mar 2012 18:31:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1332185368-18708-1-git-send-email-pbonzini@redhat.com> <4F678A37.1020101@codemonkey.ws> <4F678E38.7050902@redhat.com> <4F678F6A.3050804@codemonkey.ws> In-Reply-To: <4F678F6A.3050804@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: lcapitulino@redhat.com, Michael Roth , qemu-devel@nongnu.org Il 19/03/2012 20:56, Anthony Liguori ha scritto: > I'm not sure if the "server ignores unknown" fields thing is even > reasonable to rely upon so maybe we should just draw a line in the sane > and make the change you're suggesting... Yeah, especially since right now it's half-half (worst of both worlds): toplevel unknowns error out, while those deep in a struct are ignored. I found a few other issues while working out a strict mode for the input visitor, I'll submit the patches in a few days. Paolo