commit | a00e81e98f71c91a35b96bcd8ae431a86f42378d | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon May 13 15:31:34 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri May 24 16:17:55 2013 +0200 |
tree | 633b8316d6c9cdd08f7df561547e5a140fc09ca2 | |
parent | c8a83e8500329d82f1282c4905be11a39078007f [diff] |
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>