[libvirt] Re: [PATCH 0/7] virStorageVolCreateXMLFrom API

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

 



On 05/04/2009 01:42 PM, Cole Robinson wrote:
> Hi all,
> 
> The following patches implement a new API call: virStorageVolCreateXMLFrom.
> 
> virStorageVolPtr
> virStorageVolCreateXMLFrom(virStoragePoolPtr pool,
>                            const char *xmldesc,
>                            unsigned int flags,
>                            virStorageVolPtr clonevol)
> 
> Arguments function similar to the regular volume create API, except the
> parameter 'clonevol' is used as the input source. The API allows for
> volume cloning, possibly across pools, or within the same pool but converting
> volume formats.
> 
> Tests I performed (and ensured that a VM booted without complaints from the
> new image):
> 
> Raw -> Raw (with successful sparse detection)
> Raw -> QCOW2
> QCOW2 -> Raw
> QCOW2 -> QCOW2
> QCOW2 -> VMDK
> Raw partition ('disk' volume) -> Raw file
> 
> Thanks,
> Cole
> 

I committed patches 1-4 (Public API w/ docs, remote driver, test driver,
virsh cmds), with the API interface change recommended by DV (moving
flags to the end of the parameter list).

I'll post the updated storage driver implementation soon.

Thanks,
Cole

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