[RFC PATCH 0/4] Add new function about block backup

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

 



Add new function about block backup, it supports the drive-backup function
in qemu, it supports three modes: full, top, incremental.

How to use it? As usual, we must do the full backup at first, if it's
successfull, next time, we can do the incremental backup, because it has
the bitmap to trace the dirty io. The incermental backup is faster.
If backup fail at some time, we must do the full backup again, only in this
way, we can keep the backup data correctly.

Rudy Zhang (4):
  Introduce virDomainBlockBackup API
  qemu drive support block backup.
  virsh: support blockbackup in virsh command
  libvirt-test: libvirt test supports drive-backup

 docs/apibuild.py                                   |   3 +-
 include/libvirt/libvirt-domain.h                   |  15 ++
 src/conf/domain_conf.h                             |  12 ++
 src/driver-hypervisor.h                            |   9 +
 src/libvirt-domain.c                               |  56 ++++++
 src/libvirt_public.syms                            |   5 +
 src/qemu/qemu_blockjob.c                           |   2 +
 src/qemu/qemu_capabilities.c                       |   4 +
 src/qemu/qemu_capabilities.h                       |   5 +
 src/qemu/qemu_driver.c                             | 197 +++++++++++++++++++++
 src/qemu/qemu_monitor.c                            |  59 ++++++
 src/qemu/qemu_monitor.h                            |  23 +++
 src/qemu/qemu_monitor_json.c                       | 124 +++++++++++++
 src/qemu/qemu_monitor_json.h                       |  23 +++
 src/remote/remote_driver.c                         |   1 +
 src/remote/remote_protocol.x                       |  17 +-
 src/remote_protocol-structs                        |   9 +
 tests/qemucaps2xmldata/all_1.6.0-1.caps            |   1 +
 tests/qemucaps2xmldata/nodisksnapshot_1.6.0-1.caps |   1 +
 tools/virsh-domain.c                               | 149 ++++++++++++++++
 20 files changed, 713 insertions(+), 2 deletions(-)

-- 
2.6.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux