aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:55:00 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:46 +0100
commit915a213f7a0fe5c7551df8ce54714baf3dd60929 (patch)
tree9cdd8828380415f55e898c5114ab2c750ba2066e /qapi
parentb4749948c1227bfdea340226beead0c8d0907eb7 (diff)
downloadqemu-915a213f7a0fe5c7551df8ce54714baf3dd60929.zip
qemu-915a213f7a0fe5c7551df8ce54714baf3dd60929.tar.gz
qemu-915a213f7a0fe5c7551df8ce54714baf3dd60929.tar.bz2
qmp-commands: move 'x-blockdev-del' 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')
-rw-r--r--qapi/block-core.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index a9964c1..72fa6e0 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2886,6 +2886,28 @@
# development.
#
# Since: 2.5
+#
+# Example:
+#
+# -> { "execute": "blockdev-add",
+# "arguments": {
+# "options": {
+# "driver": "qcow2",
+# "node-name": "node0",
+# "file": {
+# "driver": "file",
+# "filename": "test.qcow2"
+# }
+# }
+# }
+# }
+# <- { "return": {} }
+#
+# -> { "execute": "x-blockdev-del",
+# "arguments": { "node-name": "node0" }
+# }
+# <- { "return": {} }
+#
##
{ 'command': 'x-blockdev-del', 'data': { 'node-name': 'str' } }