qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] QAPI schema: turn example commands/returns into proper JSON
@ 2017-08-08 20:53 Cleber Rosa
  2017-08-08 20:53 ` [Qemu-devel] [PATCH 1/1] " Cleber Rosa
  0 siblings, 1 reply; 5+ messages in thread
From: Cleber Rosa @ 2017-08-08 20:53 UTC (permalink / raw)
  To: Eric Blake, Markus Armbruster; +Cc: qemu-devel

The QAPI schema documentation sections contain examples of QMP input
and output.  These are supposed to follow the "JSON-based" wire
protocol, but in practice, there are a few data structure problems and
also documentation.

This turns all inputs and outputs into parseable JSON-like data.
Besides allowing humans to copy and paste the examples without
surprises, this also paves the way towards automatic execution of
examples as tests.

Cleber Rosa(1):
   QAPI schema: turn example commands/returns into proper JSON

 qapi-schema.json     |  9 ++++-----
 qapi/block-core.json | 32 ++++++++++++++++----------------
 qapi/rocker.json     |  5 +----
 3 files changed, 21 insertions(+), 25 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-14 15:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 20:53 [Qemu-devel] [PATCH 0/1] QAPI schema: turn example commands/returns into proper JSON Cleber Rosa
2017-08-08 20:53 ` [Qemu-devel] [PATCH 1/1] " Cleber Rosa
2017-08-08 21:13   ` Eric Blake
2017-08-08 21:26     ` Cleber Rosa
2017-08-14 15:31       ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).