Diese Instanz von GitLab ist Pre-Release und noch nicht offiziell als Dienst freigeschaltet.

This GitLab instance is pre-release and not an officially announced service.

Skip to content
  • John Snow's avatar
    1670ae7a
    iotests: add qemu_img_map() function · 1670ae7a
    John Snow authored
    
    
    Add a qemu_img_map() function by analogy with qemu_img_measure(),
    qemu_img_check(), and qemu_img_info() that all return JSON information.
    
    Replace calls to qemu_img_pipe('map', '--output=json', ...) with this
    new function, which provides better diagnostic information on failure.
    
    Note: The output for iotest 211 changes, because logging JSON after it
    was deserialized by Python behaves a little differently than logging the
    raw JSON document string itself.
    (iotests.log() sorts the keys for Python 3.6 support.)
    
    Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20220321201618.903471-11-jsnow@redhat.com>
    Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
    1670ae7a
    iotests: add qemu_img_map() function
    John Snow authored
    
    
    Add a qemu_img_map() function by analogy with qemu_img_measure(),
    qemu_img_check(), and qemu_img_info() that all return JSON information.
    
    Replace calls to qemu_img_pipe('map', '--output=json', ...) with this
    new function, which provides better diagnostic information on failure.
    
    Note: The output for iotest 211 changes, because logging JSON after it
    was deserialized by Python behaves a little differently than logging the
    raw JSON document string itself.
    (iotests.log() sorts the keys for Python 3.6 support.)
    
    Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20220321201618.903471-11-jsnow@redhat.com>
    Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
Loading