search for: virdomainattachdeviceflags

Displaying 10 results from an estimated 10 matches for "virdomainattachdeviceflags".

2015 Dec 07
2
libvirt logging of virDomainAttachDeviceFlags()
Hi, When using « virsh attach-device ....." to add a channel device to a Guest , I see following entry in libvirt log : 2015-12-07 11:14:47.307+0000: 14551: debug : virDomainAttachDeviceFlags:10433 : dom=0x7f2a58252fc0, ........ Great !! But , when calling virDomainAttachDeviceFlags( ) from a C program , I got return code -1 but nothing appears related to virDomainAttachDeviceFlags( ) in the libvirt log file . Others libvirt calls of this C program are correctly logged . Did I misu...
2015 Dec 07
0
Re: libvirt logging of virDomainAttachDeviceFlags()
On 07.12.2015 13:14, Jean-Pierre Ribeauville wrote: > Hi, > > When using « virsh attach-device ....." to add a channel device to a Guest , I see following entry in libvirt log : > > 2015-12-07 11:14:47.307+0000: 14551: debug : virDomainAttachDeviceFlags:10433 : dom=0x7f2a58252fc0, ........ > > Great !! > > But , when calling virDomainAttachDeviceFlags( ) from a C program , I got return code -1 but nothing appears related to virDomainAttachDeviceFlags( ) in the libvirt log file . > Others libvirt calls of this C program are corre...
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*
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*
2015 Dec 04
2
virsh attach device equivalent in libvirt API
Hi, Is there an equivalent of "virsh attach-device -live -persistent " within libvirt API : virDomainAttachDevice() or virDomainAttachDeviceFlags() or ??? Thanks for help. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/> P Pensez à l'environnement avant d'imprimer.
2019 Aug 14
0
Re: Libvirt API for attaching volume to domain
...+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. virsh uses the virDomainAttachDeviceFlags API in the 'attach-disk' command wrapper. the python bindings expose it as 'attachDeviceFlags' method of the virDomain class.
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
...ectGetMaxVcpus ( virConnectGetVersion ( virConnectListDefinedDomains ( virConnectListDomains ( virConnectNumOfDefinedDomains ( virConnectNumOfDomains ( virConnectOpen ( virConnectOpenAuth ( virConnectOpenReadOnly ( virConnectRef( virConnectSetKeepAlive( virConnResetLastError ( virConnSetErrorFunc ( virDomainAttachDeviceFlags ( virDomainBlockPeek ( virDomainBlockStats ( virDomainCreateXML ( virDomainDestroy ( virDomainDestroyFlags ( virDomainDetachDeviceFlags ( virDomainFree ( virDomainGetConnect ( virDomainGetCPUStats( virDomainGetID ( virDomainGetInfo ( virDomainGetMaxMemory ( virDomainGetName ( virDomainGetSchedulerP...
2020 Jan 10
5
[PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
libguestfs usually needs qemu. However it only requires an emulator for the same architecture, not for all architectures. libvirt-daemon-kvm pulls in qemu which pulls in emulators for all architectures, as well as a bunch of other stuff we don't need at all like network interface support and nwfilter. There are no Fedora TCG-only arches, so drop the conditional section. I also made support
2012 Oct 08
3
[PATCH v3 0/3] Add support for disk labels and hotplugging.
This is, I guess, version 3 of this patch series which adds disk labels and hotplugging (only hot-add implemented so far). The good news is .. it works! Rich.
2012 Oct 08
5
[PATCH v4 0/5] Finish hotplugging support.
This rounds off hotplugging support by allowing you to add and remove drives at any stage (before and after launch). Rich.