Am 21.05.2026 um 01:59 hat Denis V. Lunev geschrieben:
> From time to time it is needed to remove all bitmaps from the image.
> Before this patch the process is not very convenient. One should
> perform
>     qemu-img info
> and parse the output to obtain all names. After that one should
> sequentially call
>     qemu-img bitmap --remove
> for each present bitmap.
> 
> The patch adds --remove-all sub-command to 'qemu-img bitmap'. The
> new sub-command also composes with other bitmap actions in the same
> invocation, so a common "wipe and recreate" workflow can be expressed
> as
>     qemu-img bitmap --remove-all --add NEW FILE
> instead of enumerating existing bitmaps, removing them one by one,
> and only then adding the fresh one.
> 
> Signed-off-by: Denis V. Lunev <[email protected]>
> CC: Kevin Wolf <[email protected]>
> CC: Hanna Reitz <[email protected]>

Thanks, applied to the block branch.

Kevin


Reply via email to