[libvirt] [RFC PATCH 0/5] add virDomainBlockCopy API

Eric Blake eblake at redhat.com
Sun Aug 24 03:32:42 UTC 2014


Patch series is not complete yet, but I'm posting the front end
now to get feedback on whether it has a chance of being included
in 1.2.8.

Still to go: patch 6 will actually implement the new function in
qemu driver, by parsing a <disk> XML snippet into a virStorageSource;
patch 7 will add monitor support for the qemu 1.4 parameters of
granularity and buffer size.  Individual commit messages should give
more hints on where I'm taking this series.  Ultimately, I'm hoping
that Peter's work on gluster backends for block commit can be
expanded into also covering gluster backends for the copy destination.

Eric Blake (5):
  blockcopy: virDomainBlockCopy with XML destination, typed params
  blockcopy: split out virsh implementation
  blockcopy: expose new API in virsh
  blockcopy: remote implementation for new API
  blockcopy: tweak how rebase calls into copy

 include/libvirt/libvirt.h.in |  57 ++++++++++++++--
 src/driver.h                 |  11 +++-
 src/libvirt.c                | 118 ++++++++++++++++++++++++++++++++-
 src/libvirt_public.syms      |   5 ++
 src/qemu/qemu_driver.c       | 104 ++++++++++++++++++-----------
 src/remote/remote_driver.c   |   1 +
 src/remote/remote_protocol.x |  18 ++++-
 tools/virsh-domain.c         | 153 ++++++++++++++++++++++++++++++++++++-------
 tools/virsh.pod              |  35 ++++++----
 9 files changed, 422 insertions(+), 80 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list