On 08.05.20 20:03, Eric Blake wrote: > Make it easier to copy all the persistent bitmaps of (the top layer > of) a source image along with its guest-visible contents, by adding a > boolean flag for use with qemu-img convert. This is basically > shorthand, as the same effect could be accomplished with a series of > 'qemu-img bitmap --add' and 'qemu-img bitmap --merge -b source' > commands, or by QMP commands. > > See also https://bugzilla.redhat.com/show_bug.cgi?id=1779893 > > While touching this, clean up a couple coding issues spotted in the > same function: an extra blank line, and merging back-to-back 'if > (!skip_create)' blocks. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > docs/tools/qemu-img.rst | 6 ++- > qemu-img.c | 81 +++++++++++++++++++++++++++++++++++++++-- > qemu-img-cmds.hx | 4 +- > 3 files changed, 85 insertions(+), 6 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature