qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/1] QAPI schema: turn example commands/returns into


From: Cleber Rosa
Subject: [Qemu-devel] [PATCH 0/1] QAPI schema: turn example commands/returns into proper JSON
Date: Tue, 8 Aug 2017 16:53:26 -0400

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(-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]