QAPI: Fix blockdev-add example documentation
Signed-off-by: Jeff Cody <jcody@redhat.com>
This commit is contained in:
parent
31eb1202d3
commit
b166099712
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user