[libvirt-users] Download image to libvirt storage pool

25 Aug
2018
25 Aug
'18
11:18 a.m.
Is there any function in libvirt (golang SDK) to download image to libvirt storage pool from path?

27 Aug
27 Aug
12:49 p.m.
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.StorageVolCreate... followed by: https://godoc.org/github.com/libvirt/libvirt-go#StorageVol.Upload HTH, Martin
2565
Age (days ago)
2567
Last active (days ago)
1 comments
2 participants
participants (2)
-
Martin Kletzander
-
Shashwat shagun