qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] block/hmp: add sereval hmp commands for incremental backup
@ 2016-01-21 11:22 Rudy Zhang
  2016-01-21 11:22 ` [Qemu-devel] [PATCH 1/2] hmp: add hmp command " Rudy Zhang
  2016-01-21 11:22 ` [Qemu-devel] [PATCH 2/2] hmp: add hmp commands dirty bitmap add/clear/remove' Rudy Zhang
  0 siblings, 2 replies; 7+ messages in thread
From: Rudy Zhang @ 2016-01-21 11:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: Rudy Zhang, famz, qemu-block

Add sereval hmp commands for incremental backup.
It need a bitmap to backup data from drive-image to incremental image,
so before it need add bitmap for this device to track io.

Usage:
   drive_backup [-n] [-f] device target [bitmap] [format]

Example:
   # qemu-img create -f qcow2 /path/incremental-1.qcow2 -b /path/full.qcow2
   (qemu) block_dirty_bitmap_add drive-virtio-disk0 bitmap0
   (qemu) drive-backup -n drive-virtio-disk0 /path/incremental-1.qcow2 bitmap0

Rudy Zhang (2):
  hmp: add hmp command for incremental backup
  hmp: add hmp commands dirty bitmap add/clear/remove'

 hmp-commands.hx | 47 ++++++++++++++++++++++++++++++--
 hmp.c           | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 hmp.h           |  3 +++
 3 files changed, 129 insertions(+), 4 deletions(-)

-- 
2.6.4

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

end of thread, other threads:[~2016-01-22 16:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21 11:22 [Qemu-devel] [PATCH 0/2] block/hmp: add sereval hmp commands for incremental backup Rudy Zhang
2016-01-21 11:22 ` [Qemu-devel] [PATCH 1/2] hmp: add hmp command " Rudy Zhang
2016-01-21 16:39   ` Eric Blake
2016-01-21 20:47     ` [Qemu-devel] [Qemu-block] " John Snow
2016-01-22  2:04     ` [Qemu-devel] " 张敏
2016-01-22 16:39       ` Eric Blake
2016-01-21 11:22 ` [Qemu-devel] [PATCH 2/2] hmp: add hmp commands dirty bitmap add/clear/remove' Rudy Zhang

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