qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command
Date: Wed, 26 Jun 2013 14:11:56 +0200

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 <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]