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(a)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