qemu/docs/tools
Denis V. Lunev 7e8cc6c886 qemu-img: add sub-command --remove-all to 'qemu-img bitmap'
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.

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Message-ID: <20260520235952.500250-1-den@openvz.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2026-06-08 17:00:46 +02:00
..
index.rst tools/qemu-vnc: add standalone VNC server over D-Bus 2026-05-09 18:54:16 +04:00
qemu-img.rst qemu-img: add sub-command --remove-all to 'qemu-img bitmap' 2026-06-08 17:00:46 +02:00
qemu-nbd.rst qemu-nbd: Allow users to adjust handshake limit 2025-02-11 13:45:46 -06:00
qemu-pr-helper.rst misc: fix commonly doubled up words 2022-08-01 11:58:02 +02:00
qemu-storage-daemon.rst docs/devel: add a codebase section 2025-01-17 10:45:49 +00:00
qemu-trace-stap.rst docs/tools/qemu-trace-stap.rst: Do not hard-code the QEMU binary name 2022-01-05 11:10:13 +01:00
qemu-vmsr-helper.rst docs: Fix some typos (found by typos) and grammar issues 2024-08-16 14:12:59 +01:00
qemu-vnc.rst tools/qemu-vnc: add standalone VNC server over D-Bus 2026-05-09 18:54:16 +04:00