On 11/12/2010 02:07 AM, éä wrote:
In fact, libvirt will call a group of APIs to complete vol-clone operation, you can track the whole calling process, it looks like this:  virsh vol-clone <vol-key> <newname>  |  V  virConnectOpenAuth  |  V  virStorageVolLookupByKey  |  V  virStoragePoolLookupByVolume ('default' is default pool)  |                                      V                           Â virStorageVolGetXMLDesc  |  V  virStorageVolCreateXMLFrom  |  V                          Â Â virStorageVolGetName (twice)                                     Â |                                      V                 virStorageVolFree  (twice)                    |  V  virStoragePoolFree  |  V  virConnectClose                                Â  Alex
|
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list