qapi: fix documentation example
authorEric Blake <eblake@redhat.com>
Sat, 19 Oct 2013 16:52:33 +0000 (17:52 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 26 Oct 2013 09:01:58 +0000 (13:01 +0400)
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>
docs/qapi-code-gen.txt

index 91f44d01b9522e56e8332516810fd3bf860afc69..0728f36c6522b576a469d7405d9fca8d81bad0b1 100644 (file)
@@ -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 ===