Re: [Qemu-devel] [PATCH v3 04/18] qapi: Factor out JSON number formatting

2016-05-03 Thread Markus Armbruster
Eric Blake writes: > On 04/29/2016 07:22 AM, Markus Armbruster wrote: >> Eric Blake writes: >> >>> Pull out a new qstring_append_json_number() helper, so that all >>> JSON output producers can use a consistent style for printing >>> floating point without duplicating code (since we are doing mo

Re: [Qemu-devel] [PATCH v3 04/18] qapi: Factor out JSON number formatting

2016-04-29 Thread Eric Blake
On 04/29/2016 07:22 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Pull out a new qstring_append_json_number() helper, so that all >> JSON output producers can use a consistent style for printing >> floating point without duplicating code (since we are doing more >> data massaging than a

Re: [Qemu-devel] [PATCH v3 04/18] qapi: Factor out JSON number formatting

2016-04-29 Thread Markus Armbruster
Eric Blake writes: > Pull out a new qstring_append_json_number() helper, so that all > JSON output producers can use a consistent style for printing > floating point without duplicating code (since we are doing more > data massaging than a simple printf format can handle). > > Address one FIXME b

[Qemu-devel] [PATCH v3 04/18] qapi: Factor out JSON number formatting

2016-04-28 Thread Eric Blake
Pull out a new qstring_append_json_number() helper, so that all JSON output producers can use a consistent style for printing floating point without duplicating code (since we are doing more data massaging than a simple printf format can handle). Address one FIXME by adding an Error parameter and