]> git.proxmox.com Git - mirror_qemu.git/commit - qapi/qom.json
qapi: Tidy up examples
authorMarkus Armbruster <armbru@redhat.com>
Tue, 25 Apr 2023 06:42:14 +0000 (08:42 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 28 Apr 2023 09:48:34 +0000 (11:48 +0200)
commit37fa48a4cbd68760235293ebf95980fb87239b42
treea2c7859d90cd2d77044b4c895071ab3df69ae54a
parentf1a787b5f4b60524580ed9d1527568590d73789b
qapi: Tidy up examples

A few examples neglect to prefix QMP input with '->'.  Fix that.

Two examples have extra space after '<-'.  Delete it.

A few examples neglect to show output.  Provide some.  The example
output for query-vcpu-dirty-limit could use further improvement.  Add
a TODO comment.

Use "Examples:" instead of "Example:" where multiple examples are
given.

One example section numbers its two examples.  Not done elsewhere;
drop.

Another example section separates them with "or".  Likewise.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230425064223.820979-8-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
12 files changed:
qapi/block-core.json
qapi/block.json
qapi/char.json
qapi/machine.json
qapi/migration.json
qapi/misc.json
qapi/net.json
qapi/qdev.json
qapi/qom.json
qapi/replay.json
qapi/run-state.json
qapi/ui.json