[libvirt] [PATCHv8 00/11] blockjob: storage migration via block-copy

Eric Blake eblake at redhat.com
Sat Oct 20 21:47:09 UTC 2012


v7 of these patches is here:
https://www.redhat.com/archives/libvir-list/2012-September/msg01122.html

Since then, I have rebased the series on top of my block-commit work,
which changed (and simplified) several patches.  Also, upstream qemu
is closer to taking Paolo's patches that actually add the 'drive-mirror'
monitor command, although it still isn't official there; so I'm still
a bit reluctant to push patches 3-11 into libvirt.git until qemu.git
actually gains support for block copy.  Patches 1 and 2 are new, and
can be applied now if they get a good review.

I've done some light testing with the qemu-kvm-rhev of RHEV 3.0, so
I'm fairly confident that my rebase work is correct.

Also available at:
 http://repo.or.cz/w/libvirt/ericb.git/shortlog/refs/heads/blockjob
 git fetch git://repo.or.cz/libvirt/ericb.git blockjob

Eric Blake (11):
  storage: let format probing work on root-squash NFS
  blockjob: sanity check when creating snapshot
  blockjob: add qemu capabilities related to block jobs
  blockjob: react to active block copy
  blockjob: return appropriate event and info
  blockjob: support pivot operation on cancel
  blockjob: make drive-reopen safer
  blockjob: implement block copy for qemu
  blockjob: allow for existing files in block-copy
  blockjob: allow mirroring under SELinux and cgroup
  blockjob: relabel entire existing chain

 include/libvirt/libvirt.h.in     |   1 +
 src/conf/domain_conf.c           |  12 ++
 src/conf/domain_conf.h           |   1 +
 src/libvirt.c                    |   7 +-
 src/libvirt_private.syms         |   1 +
 src/qemu/qemu_capabilities.c     |   6 +
 src/qemu/qemu_capabilities.h     |   2 +
 src/qemu/qemu_driver.c           | 431 ++++++++++++++++++++++++++++++++++++++-
 src/qemu/qemu_hotplug.c          |   7 +
 src/qemu/qemu_monitor.c          |  52 +++++
 src/qemu/qemu_monitor.h          |  14 ++
 src/qemu/qemu_monitor_json.c     |  96 ++++++++-
 src/qemu/qemu_monitor_json.h     |  21 +-
 src/qemu/qemu_process.c          |   3 +
 src/storage/storage_backend_fs.c |   2 +-
 src/util/storage_file.c          |   4 +-
 src/util/storage_file.h          |   2 +-
 17 files changed, 646 insertions(+), 16 deletions(-)

-- 
1.7.11.7




More information about the libvir-list mailing list