On 9/11/18 3:37 AM, Ma Haocong wrote:
Hello,
In our scene, we need to delete dirty-bitmap created by using qmp command
'block-dirty-bitmap-add'. we can use qmp command 'block-dirty-bitmap-remove'
to remove bitmap. Then I think that we should add a new function in qemu-img
to do the same work.
The command format is: qemu-img removebmp file-name bitmap-name
John was working on a more general 'qemu-img bitmap' command that did
multiple operations from qemu-img, rather than just remove. That feels
like a more extensible approach than adding a new command for every
individual bitmap operation.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org