qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Fam Zheng <famz@redhat.com>,
	imain@redhat.com, Stefan Hajnoczi <stefanha@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command
Date: Wed, 26 Jun 2013 14:11:56 +0200	[thread overview]
Message-ID: <1372248718-27953-1-git-send-email-stefanha@redhat.com> (raw)

These patches add the sync mode argument to drive-backup (just like
drive-mirror) and then introduce the drive_backup HMP command.

It's necessary to add the sync mode argument although only the 'full' is
supported, since the drive_mirror HMP command defaults to sync mode 'top'.  To
avoid confusion, we implement the same behavior as drive_mirror and use the
sync mode argument which Ian Main <imain@redhat.com> is currently working on
implementing.

Stefan Hajnoczi (2):
  blockdev: add sync mode to drive-backup QMP command
  block: add drive_backup HMP command

 blockdev.c             |  6 ++++++
 hmp-commands.hx        | 20 ++++++++++++++++++++
 hmp.c                  | 28 ++++++++++++++++++++++++++++
 hmp.h                  |  1 +
 qapi-schema.json       | 14 ++++++++++++--
 qmp-commands.hx        |  6 +++++-
 tests/qemu-iotests/055 | 36 +++++++++++++++++++++---------------
 7 files changed, 93 insertions(+), 18 deletions(-)

-- 
1.8.1.4

             reply	other threads:[~2013-06-26 12:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 12:11 Stefan Hajnoczi [this message]
2013-06-26 12:11 ` [Qemu-devel] [PATCH v2 1/2] blockdev: add sync mode to drive-backup QMP command Stefan Hajnoczi
2013-07-10 14:31   ` Eric Blake
2013-07-10 14:35     ` Kevin Wolf
2013-06-26 12:11 ` [Qemu-devel] [PATCH v2 2/2] block: add drive_backup HMP command Stefan Hajnoczi
2013-07-10 12:17 ` [Qemu-devel] [PATCH v2 0/2] " 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=1372248718-27953-1-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=famz@redhat.com \
    --cc=imain@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).