Re: [PATCH 1/4] Introduce virDomainBlockBackup API

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

 



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@xxxxxxxxxxx>
> ---

> +++ 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

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]