qmp: Clean up design of memchar-read

The data returned has a well-defined size, which makes the size
returned along with it redundant at best.  Drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Markus Armbruster 2013-02-06 21:27:15 +01:00 committed by Anthony Liguori
parent 82e59a676c
commit 3ab651fc81
4 changed files with 16 additions and 36 deletions

View file

@ -525,7 +525,7 @@ Example:
"arguments": { "device": foo,
"size": 1000,
"format": "utf8" } }
<- { "return": { "data": "data string...", "count": 1000 } }
<- {"return": "abcdefgh"}
EQMP