OSDN Git Service

docs/devel: add example of command returning unstructured text
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 10 Sep 2021 13:50:59 +0000 (14:50 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 2 Nov 2021 15:55:13 +0000 (15:55 +0000)
commita45cfcbb0158af05716bc06fd77f93ba883b13e7
tree39a42470388c608a34e324fa3a7ced73f4d91898
parentf2de406f29e5fbdc2fcc5c9cb48d29293fba58a5
docs/devel: add example of command returning unstructured text

This illustrates how to add a QMP command returning unstructured text,
following the guidelines added in the previous patch. The example uses
a simplified version of 'info roms'.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/devel/writing-monitor-commands.rst