[libvirt] [PATCH 1/4] Introduce virDomainBlockBackup API

Eric Blake eblake at redhat.com
Wed Jun 8 21:52:06 UTC 2016


On 06/08/2016 12:21 AM, Rudy Zhang wrote:
> For Backuping the disk image.
> 
> It supports tree backup mode: full, top, incremental.
> Incremental backup mode must do full or top backup first,
> and it exists dirty bitmap to trace io.
> 
> Signed-off-by: longyou <longyou at mogujie.com>
> ---

> +++ b/src/remote/remote_driver.c
> @@ -7796,6 +7796,7 @@ static virHypervisorDriver hypervisor_driver = {
>      .domainBlockRebase = remoteDomainBlockRebase, /* 0.9.10 */
>      .domainBlockCopy = remoteDomainBlockCopy, /* 1.2.9 */
>      .domainBlockCommit = remoteDomainBlockCommit, /* 0.10.2 */
> +    .domainBlockBackup = remoteDomainBlockBackup, /* 1.3.6 */

Is this something that would be better to expose by adding new flags to
the existing virDomainBlockCopy() command (basically, a new
VIR_DOMAIN_BLOCK_COPY_BACKUP), rather than inventing a new API?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160608/88eac196/attachment-0001.sig>


More information about the libvir-list mailing list