Re: [libvirt-users] Recover snapshots from qcow images

2019-08-14 Thread Peter Krempa
On Tue, Aug 13, 2019 at 15:15:11 +0200, Petr Stodulka wrote: > Hi guys, > I had to move to the new laptop week ago and I screw migration of my virtual > machines. I recovered my virtual machines on the new laptop (virsh define) > using the backed up xml files, but I am missing any file with

[libvirt-users] Recover snapshots from qcow images

2019-08-14 Thread Petr Stodulka
Hi guys, I had to move to the new laptop week ago and I screw migration of my virtual machines. I recovered my virtual machines on the new laptop (virsh define) using the backed up xml files, but I am missing any file with metadata about snapshots. The original storage is cleaned so I cannot take

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Peter Krempa
On Wed, Aug 14, 2019 at 18:23:30 +0530, Varsha Verma wrote: > Hi, > > I wanted to know if there is any Python API exposed for libvirt using which > I can attach a libvirt volume to a libvirt domain/VM. > > I intend to do something similar to the `attach-disk` command of virsh > using python.

[libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Varsha Verma
Hi, I wanted to know if there is any Python API exposed for libvirt using which I can attach a libvirt volume to a libvirt domain/VM. I intend to do something similar to the `attach-disk` command of virsh using python. -- *Regards,* *Varsha Verma* *Final Year Undergraduate* *Department of

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Varsha Verma
Thanks, this is exactly what I needed. Is there some documentation where I can get how to exactly call this function along with the arguments? On Wed, Aug 14, 2019 at 6:48 PM Peter Krempa wrote: > On Wed, Aug 14, 2019 at 18:23:30 +0530, Varsha Verma wrote: > > Hi, > > > > I wanted to know

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Christian Kujau
On Wed, 14 Aug 2019, Varsha Verma wrote: > Is there some documentation where I can get how to exactly call this > function along with the arguments? Documentation to various language bindings can be found here: https://libvirt.org/bindings.html HTH, C. -- BOFH excuse #417: Computer room