Re: Download image to libvirt storage pool

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

 



On Sat, Aug 25, 2018 at 04:48:01PM +0530, Shashwat shagun wrote:
Is there any function in libvirt (golang SDK) to download image to libvirt
storage pool from path?

I _think_ you have to do:

 https://godoc.org/github.com/libvirt/libvirt-go#StoragePool.StorageVolCreateXML

followed by:

 https://godoc.org/github.com/libvirt/libvirt-go#StorageVol.Upload

HTH,
Martin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux