[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL 7/9] QAPI: Fix blockdev-add example documentation
From: |
Jeff Cody |
Subject: |
[Qemu-block] [PULL 7/9] QAPI: Fix blockdev-add example documentation |
Date: |
Tue, 21 Feb 2017 10:40:55 -0500 |
Signed-off-by: Jeff Cody <address@hidden>
---
qapi/block-core.json | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index ea9b04a..5f82d35 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2910,34 +2910,36 @@
# 1.
# -> { "execute": "blockdev-add",
# "arguments": {
-# "options" : { "driver": "qcow2",
-# "file": { "driver": "file",
-# "filename": "test.qcow2" } } } }
+# "driver": "qcow2",
+# "node-name": "test1",
+# "file": {
+# "driver": "file",
+# "filename": "test.qcow2"
+# }
+# }
+# }
# <- { "return": {} }
#
# 2.
# -> { "execute": "blockdev-add",
# "arguments": {
-# "options": {
-# "driver": "qcow2",
-# "node-name": "node0",
-# "discard": "unmap",
-# "cache": {
-# "direct": true,
-# "writeback": true
+# "driver": "qcow2",
+# "node-name": "node0",
+# "discard": "unmap",
+# "cache": {
+# "direct": true
# },
# "file": {
-# "driver": "file",
-# "filename": "/tmp/test.qcow2"
+# "driver": "file",
+# "filename": "/tmp/test.qcow2"
# },
# "backing": {
-# "driver": "raw",
-# "file": {
-# "driver": "file",
-# "filename": "/dev/fdset/4"
+# "driver": "raw",
+# "file": {
+# "driver": "file",
+# "filename": "/dev/fdset/4"
# }
# }
-# }
# }
# }
#
@@ -2965,14 +2967,12 @@
#
# -> { "execute": "blockdev-add",
# "arguments": {
-# "options": {
-# "driver": "qcow2",
-# "node-name": "node0",
-# "file": {
-# "driver": "file",
-# "filename": "test.qcow2"
-# }
-# }
+# "driver": "qcow2",
+# "node-name": "node0",
+# "file": {
+# "driver": "file",
+# "filename": "test.qcow2"
+# }
# }
# }
# <- { "return": {} }
--
2.9.3
- [Qemu-block] [PULL 0/9] Block patches, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 5/9] iscsi: Add timeout option, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 2/9] iscsi: Handle -iscsi user/password in bdrv_parse_filename(), Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 3/9] iscsi: Add initiator-name option, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 1/9] iscsi: Split URL into individual options, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 4/9] iscsi: Add header-digest option, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 7/9] QAPI: Fix blockdev-add example documentation,
Jeff Cody <=
- [Qemu-block] [PULL 6/9] iscsi: Add blockdev-add support, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 9/9] qemu-options: Fix broken sheepdog URL, Jeff Cody, 2017/02/21
- [Qemu-block] [PULL 8/9] mirror: do not increase offset during initial zero_or_discard phase, Jeff Cody, 2017/02/21
- Re: [Qemu-block] [PULL 0/9] Block patches, Peter Maydell, 2017/02/21