Re: [Qemu-devel] [PATCH] qapi: zero-initialize all QMP command parameters

2014-05-21 Thread Luiz Capitulino
On Tue, 20 May 2014 12:20:39 -0500 Michael Roth wrote: > In general QMP command parameter values are specified by consumers of the > QMP/HMP interface, but in the case of optional parameters these values may > be left uninitialized. > > It is considered a bug for code to make use of optional par

Re: [Qemu-devel] [PATCH] qapi: zero-initialize all QMP command parameters

2014-05-20 Thread Michael Roth
Quoting Peter Maydell (2014-05-20 13:21:15) > On 20 May 2014 18:20, Michael Roth wrote: > > In general QMP command parameter values are specified by consumers of the > > QMP/HMP interface, but in the case of optional parameters these values may > > be left uninitialized. > > > > It is considered a

Re: [Qemu-devel] [PATCH] qapi: zero-initialize all QMP command parameters

2014-05-20 Thread Peter Maydell
On 20 May 2014 18:20, Michael Roth wrote: > In general QMP command parameter values are specified by consumers of the > QMP/HMP interface, but in the case of optional parameters these values may > be left uninitialized. > > It is considered a bug for code to make use of optional parameters that ha

Re: [Qemu-devel] [PATCH] qapi: zero-initialize all QMP command parameters

2014-05-20 Thread Markus Armbruster
Michael Roth writes: > In general QMP command parameter values are specified by consumers of the > QMP/HMP interface, but in the case of optional parameters these values may > be left uninitialized. > > It is considered a bug for code to make use of optional parameters that have > not been flagge

[Qemu-devel] [PATCH] qapi: zero-initialize all QMP command parameters

2014-05-20 Thread Michael Roth
In general QMP command parameter values are specified by consumers of the QMP/HMP interface, but in the case of optional parameters these values may be left uninitialized. It is considered a bug for code to make use of optional parameters that have not been flagged as being present by the marshall