From f9cfb8f729dc11e387daa575ae193c0ad56c8a92 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 23 Jun 2016 13:09:45 +0200 Subject: qmp-commands: move 'set_link' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi-schema.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'qapi-schema.json') 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'} } -- cgit v1.2.3-55-g7522