]> Git Repo - qemu.git/commitdiff
qmp-commands: move 'x-blockdev-del' doc to schema
authorMarc-André Lureau <[email protected]>
Thu, 23 Jun 2016 12:55:00 +0000 (14:55 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 16 Jan 2017 08:19:46 +0000 (09:19 +0100)
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
docs/qmp-commands.txt
qapi/block-core.json

index 25f45350f27ee37a81a42e7077dfe8c969270658..95b648deec4e3a0208c42c6dc5bacc14ea95e1bb 100644 (file)
@@ -343,42 +343,6 @@ named schema entities.  Entities are commands, events and various
 types.  See docs/qapi-code-gen.txt for information on their structure
 and intended use.
 
-x-blockdev-del
-------------
-Since 2.5
-
-Deletes a block device that has been added using blockdev-add.
-The command will fail if the node is attached to a device or is
-otherwise being used.
-
-This command is still a work in progress and is considered
-experimental. Stay away from it unless you want to help with its
-development.
-
-Arguments:
-
-- "node-name": Name of the graph node to delete (json-string)
-
-Example:
-
--> { "execute": "blockdev-add",
-     "arguments": {
-         "driver": "qcow2",
-         "node-name": "node0",
-         "file": {
-             "driver": "file",
-             "filename": "test.qcow2"
-         }
-     }
-   }
-
-<- { "return": {} }
-
--> { "execute": "x-blockdev-del",
-     "arguments": { "node-name": "node0" }
-   }
-<- { "return": {} }
-
 blockdev-open-tray
 ------------------
 
index a9964c1e953ded707b118e77e99f1e4ff59f4f09..72fa6e08397a71f324151a930a20b0a169ceb0f4 100644 (file)
 # 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' } }
 
This page took 0.038624 seconds and 4 git commands to generate.