Commit b1660997 authored by Jeff Cody's avatar Jeff Cody
Browse files

QAPI: Fix blockdev-add example documentation



Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
parent 31eb1202
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -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",