mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 21:12:07 -06:00
QAPI: Fix blockdev-add example documentation
Signed-off-by: Jeff Cody <jcody@redhat.com>
This commit is contained in:
parent
31eb1202d3
commit
b166099712
1 changed files with 25 additions and 25 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue