[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 8/9] qemu-img: Add convert --bitmaps option
From: |
Max Reitz |
Subject: |
Re: [PATCH v3 8/9] qemu-img: Add convert --bitmaps option |
Date: |
Mon, 11 May 2020 13:58:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
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 <address@hidden>
> ---
> 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 <address@hidden>
signature.asc
Description: OpenPGP digital signature