qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>,
	Eric Blake <eblake@redhat.com>, Max Reitz <mreitz@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Kevin Wolf <kwolf@redhat.com>,
	vsementsov@virtuozzo.com, Juan Quintela <quintela@redhat.com>,
	Fam Zheng <fam@euphon.net>, Markus Armbruster <armbru@redhat.com>,
	John Snow <jsnow@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/4] bitmaps: add inconsistent bit
Date: Fri, 22 Feb 2019 19:22:05 -0500	[thread overview]
Message-ID: <20190223002209.23084-1-jsnow@redhat.com> (raw)

Allow QEMU to read in bitmaps that have the in-use bit set, for the
purposes of allowing users to delete those bitmaps.

This is chosen in preference to a hard error on load to minimize
impact for a non-critical error, but to force the user or management
utility to acknowledge that the bitmap is no longer viable.

Requires: [PATCH v3 00/10] dirty-bitmaps: deprecate @status field

John Snow (4):
  block/dirty-bitmaps: add inconsistent bit
  block/dirty-bitmap: add inconsistent status
  block/dirty-bitmaps: add block_dirty_bitmap_check function
  block/dirty-bitmaps: implement inconsistent bit

 block/dirty-bitmap.c           | 65 +++++++++++++++++++++++-----
 block/qcow2-bitmap.c           | 77 ++++++++++++++++++----------------
 blockdev.c                     | 49 ++++------------------
 include/block/dirty-bitmap.h   | 15 ++++++-
 migration/block-dirty-bitmap.c | 12 ++----
 nbd/server.c                   |  3 +-
 qapi/block-core.json           | 15 +++++--
 7 files changed, 133 insertions(+), 103 deletions(-)

-- 
2.17.2

             reply	other threads:[~2019-02-23  0:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-23  0:22 John Snow [this message]
2019-02-23  0:22 ` [Qemu-devel] [PATCH v2 1/4] block/dirty-bitmaps: add inconsistent bit John Snow
2019-02-25 13:47   ` Eric Blake
2019-02-25 14:18   ` Vladimir Sementsov-Ogievskiy
2019-02-25 15:30     ` Vladimir Sementsov-Ogievskiy
2019-02-27 18:45       ` John Snow
2019-02-28 10:13         ` Vladimir Sementsov-Ogievskiy
2019-02-28 13:44           ` Eric Blake
2019-02-28 14:01             ` Vladimir Sementsov-Ogievskiy
2019-02-25 18:32     ` John Snow
2019-02-25 15:51   ` [Qemu-devel] [PATCH] dirty-bitmap: introduce inconsistent bitmaps Vladimir Sementsov-Ogievskiy
2019-02-23  0:22 ` [Qemu-devel] [PATCH v2 2/4] block/dirty-bitmap: add inconsistent status John Snow
2019-02-25 15:12   ` Eric Blake
2019-02-23  0:22 ` [Qemu-devel] [PATCH v2 3/4] block/dirty-bitmaps: add block_dirty_bitmap_check function John Snow
2019-02-25 13:37   ` Vladimir Sementsov-Ogievskiy
2019-02-25 14:59     ` Vladimir Sementsov-Ogievskiy
2019-02-25 15:07       ` Eric Blake
2019-02-25 15:11         ` Vladimir Sementsov-Ogievskiy
2019-02-25 21:22       ` John Snow
2019-02-23  0:22 ` [Qemu-devel] [PATCH v2 4/4] block/dirty-bitmaps: implement inconsistent bit John Snow
2019-02-25 16:21   ` Vladimir Sementsov-Ogievskiy
2019-02-27 23:48     ` John Snow
2019-02-28 10:21       ` Vladimir Sementsov-Ogievskiy

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=20190223002209.23084-1-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=fam@euphon.net \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).