QAPI: Fix blockdev-add example documentation

Signed-off-by: Jeff Cody <jcody@redhat.com>
This commit is contained in:
Jeff Cody 2017-01-24 20:14:11 -05:00
parent 31eb1202d3
commit b166099712

View file

@ -2910,21 +2910,24 @@
# 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
# "direct": true
# },
# "file": {
# "driver": "file",
@ -2939,7 +2942,6 @@
# }
# }
# }
# }
#
# <- { "return": {} }
#
@ -2965,7 +2967,6 @@
#
# -> { "execute": "blockdev-add",
# "arguments": {
# "options": {
# "driver": "qcow2",
# "node-name": "node0",
# "file": {
@ -2974,7 +2975,6 @@
# }
# }
# }
# }
# <- { "return": {} }
#
# -> { "execute": "x-blockdev-del",