summary refs log tree commit diff stats
path: root/docs/qapi-code-gen.txt
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2013-10-19 17:52:33 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2013-10-26 13:01:58 +0400
commit63922c647730eba01865e05bf1e80dd7d682e287 (patch)
treedf9229001018750844514f83df044a138acddb25 /docs/qapi-code-gen.txt
parenteb02dc0b118c87a366002e3a725ab3373e1738db (diff)
downloadfocaccia-qemu-63922c647730eba01865e05bf1e80dd7d682e287.tar.gz
focaccia-qemu-63922c647730eba01865e05bf1e80dd7d682e287.zip
qapi: fix documentation example
The QMP wire format uses "", not '', around strings.

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

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'docs/qapi-code-gen.txt')
-rw-r--r--docs/qapi-code-gen.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
index 91f44d01b9..0728f36c65 100644
--- a/docs/qapi-code-gen.txt
+++ b/docs/qapi-code-gen.txt
@@ -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 ===