]> git.ipfire.org Git - thirdparty/libvirt.git/commit
blockcopy: add qemu implementation of new API
authorEric Blake <eblake@redhat.com>
Mon, 25 Aug 2014 21:11:05 +0000 (15:11 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 12 Sep 2014 14:11:11 +0000 (08:11 -0600)
commite3f5f8eefde3c91f3507abadb9cf736c18ab2ed1
treeb98e5037076d529b227ad8c8b085fc069d0f152c
parente53ee6c123321a1775ef3b36e15a5fa351d10fe4
blockcopy: add qemu implementation of new API

The hard part of managing the disk copy is already coded; all
this had to do was convert the XML and virTypedParameters into
the internal representation.

With this patch, all blockcopy operations that used the old
API should also work via the new API.  Additional extensions,
such as supporting the granularity tunable or a network rather
than file destination, will be added as later patches.

* src/qemu/qemu_driver.c (qemuDomainBlockCopy): New function.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c