get contents of a storage volume in bytes

Shashwat shagun shashwatshagun2581 at gmail.com
Sun Jun 28 14:21:01 UTC 2020


Hi, i have two machines with libvirt installed. I want to move a storage
volume from the 1st machine to 2nd machine with code.

I'm thinking of reading a storage volume into a byte array/stream then
uploading through my own/custom handler (written in go) to the 2nd
machine's custom handler which will then be writing the byte stream to
libvirt storage volume.

Is there a libvirt function to read storage volume into byte stream?


Shashwat.
shashwatshagun2581 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200628/03b1d3f3/attachment.htm>


More information about the libvirt-users mailing list