diff options
| author | Peter Wu <peter@lekensteyn.nl> | 2015-01-06 18:48:07 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-02-06 17:24:21 +0100 |
| commit | 7aee37b93a4f694cdd670807f30b8efd33d0c721 (patch) | |
| tree | d692508cea485ffe893735b53cab0af9543a040d /scripts/qapi-commands.py | |
| parent | b0e8dc5d54225d2e7012bd306e62ac90ba6fc1ea (diff) | |
| download | focaccia-qemu-7aee37b93a4f694cdd670807f30b8efd33d0c721.tar.gz focaccia-qemu-7aee37b93a4f694cdd670807f30b8efd33d0c721.zip | |
block/dmg: process a buffer instead of reading ints
As the decoded plist XML is not a pointer in the file, dmg_read_mish_block must be able to process a buffer instead of a file pointer. Since the full buffer must be processed, let's change the return value again to just a success flag. Signed-off-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1420566495-13284-5-git-send-email-peter@lekensteyn.nl Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions