Re: API Proposal: virDomainBlockPull() V5

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

 



On Tue, May 24, 2011 at 3:13 PM, Adam Litke <agl@xxxxxxxxxx> wrote:
Looks like we're close to converging here.  I am going to update the
QEMU-side patches to this new API.

> /**
>  * virDomainBlockPull:
>  * @dom: pointer to domain object
>  * @path: Fully-qualified filename of disk
>  * @pos: A pointer to a virDomainBlockPullInfo structure, or NULL
>  * @flags: currently unused, for future extension
>  *
>  * Populate a disk image with data from its backing image.  Once all data from
>  * its backing image has been pulled, the disk no longer depends on a backing
>  * image.  This function works incrementally, performing a small amount of work
>  * each time it is called.  When successful, @pos is updated with the current
>  * progress.
>  *
>  * Returns -1 in case of failure, 0 when successful.
>  */
> int                 virDomainBlockPull(virDomainPtr dom,
>                                       const char *path,
>                                       virDomainBlockPullInfoPtr *pos,

I think you mean:
    virDomainBlockPullInfoPtr info,

Stefan

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