summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 13:09:45 +0200
committerMarkus Armbruster2017-01-16 09:15:27 +0100
commitf9cfb8f729dc11e387daa575ae193c0ad56c8a92 (patch)
tree564d6a74c633529e059b19b007cd444cfa126987 /qapi-schema.json
parentqmp-commands: move 'inject-nmi' doc to schema (diff)
downloadqemu-f9cfb8f729dc11e387daa575ae193c0ad56c8a92.tar.gz
qemu-f9cfb8f729dc11e387daa575ae193c0ad56c8a92.tar.xz
qemu-f9cfb8f729dc11e387daa575ae193c0ad56c8a92.zip
qmp-commands: move 'set_link' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 1675a9bf16..43b485e145 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2352,6 +2352,13 @@
# Notes: Not all network adapters support setting link status. This command
# will succeed even if the network adapter does not support link status
# notification.
+#
+# Example:
+#
+# -> { "execute": "set_link",
+# "arguments": { "name": "e1000.0", "up": false } }
+# <- { "return": {} }
+#
##
{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }