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

2020-05-12 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 persistent bitmaps make no sense (such as on a qcow2 v2 image). Add a hook to make this easier to query. This patch adds a new callback .bdrv_supports_persistent_dirty_bitmap

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

2020-05-13 Thread Vladimir Sementsov-Ogievskiy
13.05.2020 04:16, 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 persistent bitmaps make no sense (such as on a qcow2 v2 image). Add a hook to make this easier to query. This patch adds a new callback

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

2020-05-14 Thread Eric Blake
On 5/14/20 12:19 AM, Vladimir Sementsov-Ogievskiy wrote: In the future, when we improve the ability to look up bitmaps through a filter, we will probably also want to teach the block layer to automatically let filters pass this request on through. Hm. I think that bitmap at filter bs is a vali