summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-05-13 15:31:34 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-24 16:17:55 +0200
commita00e81e98f71c91a35b96bcd8ae431a86f42378d (patch)
tree633b8316d6c9cdd08f7df561547e5a140fc09ca2 /scripts/qapi-types.py
parentc8a83e8500329d82f1282c4905be11a39078007f (diff)
downloadfocaccia-qemu-a00e81e98f71c91a35b96bcd8ae431a86f42378d.tar.gz
focaccia-qemu-a00e81e98f71c91a35b96bcd8ae431a86f42378d.zip
qemu-io: Fix 'map' output
The output of the 'map' command in qemu-io used to directly resemble
bdrv_is_allocated() and could contain many lines for small chunks that
all have the same allocation status. After this patch, they will be
coalesced into a single output line for a large chunk.

As a side effect, the command gains some error handling.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions