From: Kevin Wolf <kwolf@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org,
vsementsov@virtuozzo.com, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH for-2.11] qcow2: fix image corruption on commit with persistent snapshot
Date: Fri, 17 Nov 2017 18:19:20 +0100 [thread overview]
Message-ID: <20171117171920.GI4795@localhost.localdomain> (raw)
In-Reply-To: <20171117164747.11525-1-eblake@redhat.com>
Am 17.11.2017 um 17:47 hat Eric Blake geschrieben:
> If an image contains persistent snapshots, we cannot use the
> fast path of bdrv_make_empty() to clear the image during
> qemu-img commit, because that will lose the clusters related
> to the bitmaps.
>
> Also leave a comment in qcow2_read_extensions to remind future
> feature additions to think about fast-path removal, since we
> just barely fixed the same bug for LUKS encryption.
>
> It's a pain that qemu-img has not yet been taught to manipulate,
> or even at a very minimum display, information about persistent
> bitmaps; instead, we have to use QMP commands. It's also a
> pain that only qeury-block and x-debug-block-dirty-bitmap-sha256
s/qeury/query/
> will allow bitmap introspection; but the former requires the
> node to be hooked to a block device, and the latter is experimental.
>
> Signed-off-by: Eric Blake <eblake@redhat.com>
Thanks, fixed the typo above and applied to the block branch.
Kevin
next prev parent reply other threads:[~2017-11-17 17:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-17 16:47 [Qemu-devel] [PATCH for-2.11] qcow2: fix image corruption on commit with persistent snapshot Eric Blake
2017-11-17 17:07 ` Vladimir Sementsov-Ogievskiy
2017-11-17 17:11 ` Eric Blake
2017-11-17 17:24 ` Kevin Wolf
2017-11-17 17:19 ` Kevin Wolf [this message]
2017-11-17 18:17 ` Max Reitz
2017-11-17 18:46 ` Eric Blake
2017-11-17 18:55 ` Eric Blake
2017-11-20 14:36 ` Kevin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171117171920.GI4795@localhost.localdomain \
--to=kwolf@redhat.com \
--cc=eblake@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.