Re: [Qemu-devel] [PATCH v3 13/15] qemu-img: Make MapEntry a QAPI struct

2015-11-25 Thread Eric Blake
On 11/25/2015 10:05 PM, Fam Zheng wrote: > 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_mergable(). s/mergable/mergeable/ here and in the patch body > > Signed-off-by: Fa

[Qemu-devel] [PATCH v3 13/15] qemu-img: Make MapEntry a QAPI struct

2015-11-25 Thread Fam Zheng
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_mergable(). Signed-off-by: Fam Zheng --- qapi/block-core.json | 27 qemu-img.c | 71