search for: attachdeviceflags

Displaying 5 results from an estimated 5 matches for "attachdeviceflags".

2019 Aug 14
2
Libvirt API for attaching volume to domain
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 Electrical Engineering* *IIT-BHU, Varanasi*
2011 Feb 14
1
Use libvirt-python to attach cdrom
Hi all, I want to attach cdrom by libvirt.py .But can't find a func in libvirt.py can finish this work. Who can help me ? Regard -- Seven Ling E-mail: jiejie.ling at qq.com
2012 Nov 21
1
add disk problems for domain
hi,all I use Java api `domain.attachDeviceFlags(xml, 0);` to add a disk for domain. the xml file like this: <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/dev/sp1353486595267/v1353488096262'/> <target dev='vdb' bus='virt...
2019 Aug 14
0
Re: Libvirt API for attaching volume to domain
...arsha 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. virsh uses the virDomainAttachDeviceFlags API in the 'attach-disk' command wrapper. the python bindings expose it as 'attachDeviceFlags' method of the virDomain class.
2019 Aug 14
2
Re: Libvirt API for attaching volume to domain
...> 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. > > virsh uses the virDomainAttachDeviceFlags API in the 'attach-disk' > command wrapper. the python bindings expose it as 'attachDeviceFlags' > method of the virDomain class. > -- *Regards,* *Varsha Verma* *Third Year Undergraduate* *Department of Electrical Engineering* *IIT-BHU, Varanasi*