Re: [PATCH v3 3/9] block: Make it easier to learn which BDS support bitmaps

2020-05-12 Thread Max Reitz
On 11.05.20 20:16, Eric Blake wrote: > On 5/11/20 4:21 AM, Max Reitz wrote: >> On 08.05.20 20:03, Eric Blake wrote: >>> Upcoming patches will enhance bitmap support in qemu-img, but in doing >>> so, it turns out to be nice to suppress output when bitmaps make no >>> sense (such as on a qcow2 v2

Re: [PATCH v3 3/9] block: Make it easier to learn which BDS support bitmaps

2020-05-11 Thread Eric Blake
On 5/11/20 1:16 PM, Eric Blake wrote: On 5/11/20 4:21 AM, Max Reitz wrote: +++ b/include/block/block_int.h @@ -560,6 +560,7 @@ struct BlockDriver {    uint64_t parent_perm, uint64_t parent_shared,    uint64_t *nperm, uint64_t

Re: [PATCH v3 3/9] block: Make it easier to learn which BDS support bitmaps

2020-05-11 Thread Eric Blake
On 5/11/20 4:21 AM, Max Reitz wrote: On 08.05.20 20:03, Eric Blake wrote: Upcoming patches will enhance bitmap support in qemu-img, but in doing so, it turns out to be nice to suppress output when bitmaps make no sense (such as on a qcow2 v2 image). Add a hook to make this easier to query. In

Re: [PATCH v3 3/9] block: Make it easier to learn which BDS support bitmaps

2020-05-11 Thread Max Reitz
On 08.05.20 20:03, Eric Blake wrote: > Upcoming patches will enhance bitmap support in qemu-img, but in doing > so, it turns out to be nice to suppress output when bitmaps make no > sense (such as on a qcow2 v2 image). Add a hook to make this easier > to query. > > In the future, when we improve

[PATCH v3 3/9] block: Make it easier to learn which BDS support bitmaps

2020-05-08 Thread Eric Blake
Upcoming patches will enhance bitmap support in qemu-img, but in doing so, it turns out to be nice to suppress output when bitmaps make no sense (such as on a qcow2 v2 image). Add a hook to make this easier to query. In the future, when we improve the ability to look up bitmaps through a filter,