qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command
@ 2013-06-26 12:11 Stefan Hajnoczi
  2013-06-26 12:11 ` [Qemu-devel] [PATCH v2 1/2] blockdev: add sync mode to drive-backup QMP command Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2013-06-26 12:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Fam Zheng, imain, Stefan Hajnoczi, Paolo Bonzini

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-10 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 12:11 [Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command Stefan Hajnoczi
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

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).