qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: John Snow <jsnow@redhat.com>,
	qemu-block@nongnu.org, qemu-devel@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>,
	vsementsov@virtuozzo.com, Fam Zheng <fam@euphon.net>,
	libvir-list@redhat.com, Juan Quintela <quintela@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/6] block/dirty-bitmap: add recording and busy properties
Date: Wed, 13 Feb 2019 20:54:38 -0600	[thread overview]
Message-ID: <7a33b8e6-95bb-e6d4-d4e7-8fd62d3400e0@redhat.com> (raw)
In-Reply-To: <20190213232356.21034-2-jsnow@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

On 2/13/19 5:23 PM, John Snow wrote:
> The current API allows us to report a single status, which we've defined as:
> 
> Frozen: has a successor, treated as qmp_locked, may or may not be enabled.
> Locked: no successor, qmp_locked. may or may not be enabled.
> Disabled: Not frozen or locked, disabled.
> Active: Not frozen, locked, or disabled.
> 
> The problem is that both "Frozen" and "Locked" mean nearly the same thing,
> and that both of them do not intuit whether they are recording guest writes
> or not.
> 
> This patch deprecates that status field and introduces two orthogonal
> properties instead to replace it.
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  block/dirty-bitmap.c       |  9 +++++++++
>  qapi/block-core.json       | 10 +++++++++-
>  qemu-deprecated.texi       |  6 ++++++
>  tests/qemu-iotests/236.out | 28 ++++++++++++++++++++++++++++
>  4 files changed, 52 insertions(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-02-14  3:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 23:23 [Qemu-devel] [PATCH v2 0/6] dirty-bitmaps: deprecate @status field John Snow
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 1/6] block/dirty-bitmap: add recording and busy properties John Snow
2019-02-14  2:54   ` Eric Blake [this message]
2019-02-18 13:27   ` Vladimir Sementsov-Ogievskiy
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 2/6] block/dirty-bitmaps: rename frozen predicate helper John Snow
2019-02-14  2:57   ` Eric Blake
2019-02-18 13:57   ` Vladimir Sementsov-Ogievskiy
2019-02-18 17:11     ` Vladimir Sementsov-Ogievskiy
2019-02-18 22:32     ` John Snow
2019-02-19 10:17       ` Vladimir Sementsov-Ogievskiy
2019-02-19 20:05         ` John Snow
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 3/6] block/dirty-bitmap: change semantics of enabled predicate John Snow
2019-02-18 16:39   ` Vladimir Sementsov-Ogievskiy
2019-02-18 23:15     ` John Snow
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 4/6] block/dirty-bitmap: explicitly lock bitmaps with successors John Snow
2019-02-18 16:52   ` Vladimir Sementsov-Ogievskiy
2019-02-18 22:13     ` John Snow
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 5/6] block/dirty-bitmaps: unify qmp_locked and user_locked calls John Snow
2019-02-18 17:27   ` Vladimir Sementsov-Ogievskiy
2019-02-18 23:24     ` John Snow
2019-02-13 23:23 ` [Qemu-devel] [PATCH v2 6/6] block/dirty-bitmaps: move comment block John Snow
2019-02-14  3:01   ` Eric Blake
2019-02-18 17:39   ` Vladimir Sementsov-Ogievskiy
2019-02-18 22:03     ` John Snow

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=7a33b8e6-95bb-e6d4-d4e7-8fd62d3400e0@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=fam@euphon.net \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=libvir-list@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).