Re: [Qemu-devel] [PATCH v15 05/23] qapi: Use strict QMP input visitor in more places

2016-04-28 Thread Eric Blake
On 04/28/2016 07:06 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Rather than having two separate ways to create a QMP input >> visitor, where the safer approach has the more verbose name, >> it is better to consolidate things into a single function >> where the caller must explicitly ch

Re: [Qemu-devel] [PATCH v15 05/23] qapi: Use strict QMP input visitor in more places

2016-04-28 Thread Markus Armbruster
Eric Blake writes: > Rather than having two separate ways to create a QMP input > visitor, where the safer approach has the more verbose name, > it is better to consolidate things into a single function > where the caller must explicitly choose whether to be strict > or to ignore excess input. U

[Qemu-devel] [PATCH v15 05/23] qapi: Use strict QMP input visitor in more places

2016-04-27 Thread Eric Blake
Rather than having two separate ways to create a QMP input visitor, where the safer approach has the more verbose name, it is better to consolidate things into a single function where the caller must explicitly choose whether to be strict or to ignore excess input. Use strict mode in more places o