diff options
author | Jeff Cody <jcody@redhat.com> | 2017-01-24 20:14:11 -0500 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2017-02-21 10:37:46 -0500 |
commit | b1660997125099db2c0cd7f54f6664fbd93bad00 (patch) | |
tree | 4109fdada3ba2ea06a8a7c44fc16fe52126b5ef9 /qapi | |
parent | 31eb1202d391f7e35307c7aaddb03224efcba331 (diff) |
QAPI: Fix blockdev-add example documentation
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index ea9b04acac..5f82d35fab 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": {} } |