[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside struc
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs |
Date: |
Tue, 20 Mar 2012 18:31:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
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
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, (continued)
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Anthony Liguori, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Eric Blake, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Anthony Liguori, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Luiz Capitulino, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Michael Roth, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Anthony Liguori, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Michael Roth, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Anthony Liguori, 2012/03/19
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Luiz Capitulino, 2012/03/20
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Anthony Liguori, 2012/03/20
- Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs,
Paolo Bonzini <=
Re: [Qemu-devel] [RFC/RFA PATCH] qapi: detect extra members inside structs, Michael Roth, 2012/03/19