Skip to content
Snippets Groups Projects
Commit e46c0b18 authored by Eyal Moscovici's avatar Eyal Moscovici Committed by Eric Blake
Browse files

qemu-img: refactor dump_map_entry JSON format output


Previously dump_map_entry identified whether we need to start a new JSON
array based on whether start address == 0. In this refactor we remove
this assumption as in following patches we will allow map to start from
an arbitrary position.

Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Acked-by: default avatarMark Kanda <mark.kanda@oracle.com>
Signed-off-by: default avatarEyal Moscovici <eyal.moscovici@oracle.com>
Message-Id: <20200513133629.18508-4-eyal.moscovici@oracle.com>
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
parent 8f282e83
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment