Skip to contentSkip to conversation

qapi: fix documentation example

PATCH Applied Eric Blake 2 participants 2 messages Oct 19, 2013 – Oct 21, 2013

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 qapi: fix documentation example

The QMP wire format uses "", not '', around strings.

* docs/qapi-code-gen.txt: Fix typo.

---
 docs/qapi-code-gen.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/qapi-code-gen.txt +1 -1
index 91f44d0..0728f36 100644
@@ -164,7 +164,7 @@ This example allows using both of the following example objects:
  { "file": "my_existing_block_device_id" }
  { "file": { "driver": "file",
              "readonly": false,
-             'filename': "/tmp/mydisk.qcow2" } }
+             "filename": "/tmp/mydisk.qcow2" } }
 
 
 === Commands ===
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 3 lines · Eric Blake

The QMP wire format uses "", not '', around strings.

* docs/qapi-code-gen.txt: Fix typo.

Thanks, applied to the trivial patches queue.

/mjt