Re: [PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-10 Thread Daniel P . Berrangé
On Fri, Sep 10, 2021 at 03:45:11PM +0200, Markus Armbruster wrote: > Daniel P. Berrangé writes: > > > On Thu, Sep 09, 2021 at 11:33:20AM +0200, Markus Armbruster wrote: > > [...] > > >> There are many existing long lines in this file, so I'm not flagging > >> yours, except for this one, because

Re: [PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-10 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Thu, Sep 09, 2021 at 11:33:20AM +0200, Markus Armbruster wrote: [...] >> There are many existing long lines in this file, so I'm not flagging >> yours, except for this one, because it increases the maximum. > > This line is at exactly 80 characters so checkstyle

Re: [PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-10 Thread Daniel P . Berrangé
On Thu, Sep 09, 2021 at 11:33:20AM +0200, Markus Armbruster wrote: > Daniel P. Berrangé writes: > > > Traditionally we have required that newly added QMP commands will model > > any returned data using fine grained QAPI types. This is good for > > commands that are intended to be consumed by mach

Re: [PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-09 Thread Markus Armbruster
Daniel P. Berrangé writes: > Traditionally we have required that newly added QMP commands will model > any returned data using fine grained QAPI types. This is good for > commands that are intended to be consumed by machines, where clear data > representation is very important. Commands that don'

Re: [PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-08 Thread Eric Blake
On Wed, Sep 08, 2021 at 11:37:07AM +0100, Daniel P. Berrangé wrote: > Traditionally we have required that newly added QMP commands will model > any returned data using fine grained QAPI types. This is good for > commands that are intended to be consumed by machines, where clear data > representatio

[PATCH 1/5] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-08 Thread Daniel P . Berrangé
Traditionally we have required that newly added QMP commands will model any returned data using fine grained QAPI types. This is good for commands that are intended to be consumed by machines, where clear data representation is very important. Commands that don't satisfy this have generally been ad