commit | 16b0d555861b732c1dd76a986697214de1d774d5 | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Tue Jan 26 11:59:02 2016 +0800 |
committer | Max Reitz <mreitz@redhat.com> | Tue Feb 02 17:50:48 2016 +0100 |
tree | 332c9d4b5d8bdd0a4907b09e457a43e39c7017db | |
parent | 9e4303400801e62e8e357decdb487834582459e8 [diff] |
qemu-img: Make MapEntry a QAPI struct The "flags" bit mask is expanded to two booleans, "data" and "zero"; "bs" is replaced with "filename" string. Refactor the merge conditions in img_map() into entry_mergeable(). Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1453780743-16806-16-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>