qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Let 'qemu-img convert --bitmaps' skip inconsistent bitmaps


From: Eric Blake
Subject: [PATCH 0/2] Let 'qemu-img convert --bitmaps' skip inconsistent bitmaps
Date: Wed, 7 Jul 2021 20:29:59 -0500

This is mostly a convenience factor as one could already use 'qemu-img
info' to learn which bitmaps are broken and then 'qemu-img bitmap
--remove' to nuke them before calling 'qemu-img convert --bitmaps',
but it does have the advantage that the copied file is usable without
extra efforts and the broken bitmap is not deleted from the source
file.

Eric Blake (2):
  iotests: Improve and rename test 291 to qemu-img-bitmap
  qemu-img: Add --skip-broken for 'convert --bitmaps'

 docs/tools/qemu-img.rst                       |  8 +++-
 block/dirty-bitmap.c                          |  2 +-
 qemu-img.c                                    | 20 +++++++-
 .../{291 => tests/qemu-img-bitmaps}           | 17 ++++++-
 .../{291.out => tests/qemu-img-bitmaps.out}   | 46 ++++++++++++++++++-
 5 files changed, 87 insertions(+), 6 deletions(-)
 rename tests/qemu-iotests/{291 => tests/qemu-img-bitmaps} (88%)
 rename tests/qemu-iotests/{291.out => tests/qemu-img-bitmaps.out} (76%)

-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]