Skip to content
  • Kevin Wolf's avatar
    qemu-io: Fix 'map' output · a00e81e9
    Kevin Wolf authored
    
    
    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: default avatarKevin Wolf <kwolf@redhat.com>
    a00e81e9