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@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to