search for: virconnectlistalldomains

Displaying 20 results from an estimated 27 matches for "virconnectlistalldomains".

2013 Nov 06
2
virConnectListAllDomains support for PowerVM
Hey guys, I'm so glad you added the new set of virConnectListAllDomains functions, it simplifies a lot our work!. I was only wondering why there is no support for PowerVM. Is it that it hasn't been developed or is there some technical hardship? Best, Camilo Aguilar
2013 Jul 08
2
Re: deadlock on connection loosing
On 07.07.2013 01:53, Александр wrote: > В письме от Воскресенье, 30-июн-2013 03:41:37 пользователь Александр написал: >> В письме от Вторник, 25-июн-2013 11:47:10 пользователь Michal Privoznik .... > > i have found source of problem, my code looks like this: > > int count = virConnectListAllDomains(connection, NULL, 0); > .... > domain = virDomainDefineXML(connection, d.write_to_string().c_str()); > > > call to virConnectListAllDomains always cause libvirt deadlock. > > and another question, is here exists any other way to determinate number of > persistent domains...
2013 Nov 06
0
Re: virConnectListAllDomains support for PowerVM
On Tue, Nov 05, 2013 at 07:44:47PM -0500, Camilo Aguilar wrote: > Hey guys, > > I'm so glad you added the new set of virConnectListAllDomains functions, it > simplifies a lot our work!. I was only wondering why there is no support > for PowerVM. Is it that it hasn't been developed or is there some technical > hardship? I believe it was probably just an oversight - our intention was that the new API worked with all drivers....
2013 Nov 06
1
Re: virConnectListAllDomains support for PowerVM
...granular funtions are going to be deprecated at some point? On Tue, Nov 5, 2013 at 10:18 PM, Daniel P. Berrange <berrange@redhat.com>wrote: > On Tue, Nov 05, 2013 at 07:44:47PM -0500, Camilo Aguilar wrote: > > Hey guys, > > > > I'm so glad you added the new set of virConnectListAllDomains functions, > it > > simplifies a lot our work!. I was only wondering why there is no support > > for PowerVM. Is it that it hasn't been developed or is there some > technical > > hardship? > > I believe it was probably just an oversight - our intention was that th...
2013 Jul 08
0
Re: deadlock on connection loosing
...e: > > В письме от Воскресенье, 30-июн-2013 03:41:37 пользователь Александр написал: > >> В письме от Вторник, 25-июн-2013 11:47:10 пользователь Michal Privoznik > > .... > > > i have found source of problem, my code looks like this: > > > > int count = virConnectListAllDomains(connection, NULL, 0); > > .... > > domain = virDomainDefineXML(connection, d.write_to_string().c_str()); > > > > > > call to virConnectListAllDomains always cause libvirt deadlock. > > > > and another question, is here exists any other way to determinate...
2015 Nov 11
2
Re: xen+ssh with openauth
...----------------------- libvirtError Traceback (most recent call last) <ipython-input-105-a702d3dbcff3> in <module>() ----> 1 con.listAllDomains() /usr/lib64/python2.7/site-packages/libvirt.pyc in listAllDomains(self, flags) 4925 ret = libvirtmod.virConnectListAllDomains(self._o, flags) 4926 if ret is None: -> 4927 raise libvirtError("virConnectListAllDomains() failed", conn=self) 4928 4929 retlist = list() ============================================================================ Any suggestion why? Thank you, Shahar....
2013 Jul 08
1
python equiv to perl list_domains()
...> conn.listAllDomains(1) libvir: Remote Driver error : unknown procedure: 273 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3695, in listAllDomains raise libvirtError("virConnectListAllDomains() failed", conn=self) libvirt.libvirtError: unknown procedure: 273
2023 Mar 30
0
About libvirt domain dump state and persistent state
Hi all, I use libvirt-go in my agent to attach rbd volumes. I ofen suffer the issue of incosistent of domain dump xml and domain persistent xml file. For example, when I try to attach volume, the the domain by ?virConnectListAllDomains? api from libvirt tell me the vdf or 0x0a is empty, but when attach it with the vdf device or 0x0a address, qemu return the error duplicated with vdf or PCI address are double used: 2021-09-28T16:00:03.816682107-07:00 stderr F I0928 23:00:03.816558 1 cephvolume.go:73] attach disk &{XML...
2015 Mar 19
2
libvirt-python Segfaults
...db.so.1". Core was generated by `python test.py'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fd8d91b19a9 in virObjectIsClass () from /usr/lib/libvirt.so.0 (gdb) bt #0 0x00007fd8d91b19a9 in virObjectIsClass () from /usr/lib/libvirt.so.0 #1 0x00007fd8d9268d02 in virConnectListAllDomains () from /usr/lib/libvirt.so.0 #2 0x00007fd8d964db96 in libvirt_virConnectListAllDomains (self=<optimized out>, args=<optimized out>) at libvirt-override.c:2470 #3 0x000000000052c6d5 in PyEval_EvalFrameEx () #4 0x000000000055c594 in PyEval_EvalCodeEx () #5 0x000000000052ca8d in P...
2015 Nov 11
0
Re: xen+ssh with openauth
...ibvirtError Traceback (most recent call last) > <ipython-input-105-a702d3dbcff3> in <module>() > ----> 1 con.listAllDomains() > > /usr/lib64/python2.7/site-packages/libvirt.pyc in listAllDomains(self, flags) > 4925 ret = libvirtmod.virConnectListAllDomains(self._o, flags) > 4926 if ret is None: > -> 4927 raise libvirtError("virConnectListAllDomains() > failed", conn=self) > 4928 > 4929 retlist = list() > ============================================================================ > > A...
2019 Mar 11
2
Re: Obtaining the PID of a domain's QEMU process from C
...with qemu That's right, and it should stay that way. On the other hand, the same way we can't prevent anyone from editing /etc/libvirt/qemu/<domain>.xml or /var/run/libvirt/qemu/<domain>.xml or run the 'ps' command or whatever we might as well report the PID as part of virConnectListAllDomains data. I don't have a problem with reporting PIDs in principle, provided it's used for informatory purposes. Having said that, there's the question of why libvirt should report something that it doesn't need to consume, IOW we report machine ID which we can use to control the machine...
2013 Jun 30
2
Re: deadlock on connection loosing
В письме от Вторник, 25-июн-2013 11:47:10 пользователь Michal Privoznik написал: > On 24.06.2013 11:36, Александр wrote: > > libvirtd will lock if for example kill programm which established > > connection,> > > only sigkill + restart helps., to reproduce: > > virConnectPtr libvirt_connection = virConnectOpen("qemu:///system"); > >
2019 Mar 11
2
Re: Obtaining the PID of a domain's QEMU process from C
...and it should stay that way. On the other hand, the same way we > > can't prevent anyone from editing /etc/libvirt/qemu/<domain>.xml or > > /var/run/libvirt/qemu/<domain>.xml or run the 'ps' command or whatever we might > > as well report the PID as part of virConnectListAllDomains data. I don't have > > a problem with reporting PIDs in principle, provided it's used for informatory > > purposes. > > Having said that, there's the question of why libvirt should report something > > that it doesn't need to consume, IOW we report machine ID...
2015 Nov 03
2
xen+ssh with openauth
Hi, I am trying to connect to remote libvirt via script, and I get password prompt from the shell. ============================================================================ uri='xen+ssh://root@myserver/?no_verify=1' def req(credentials, user_data): print('in req...\n') for cred in credentials: if cred[0] == libvirt.VIR_CRED_AUTHNAME: cred[4] =
2015 Mar 20
1
Re: libvirt-python Segfaults
...s generated by `python test.py'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x00007fd8d91b19a9 in virObjectIsClass () from /usr/lib/libvirt.so.0 > (gdb) bt > #0 0x00007fd8d91b19a9 in virObjectIsClass () from /usr/lib/libvirt.so.0 > #1 0x00007fd8d9268d02 in virConnectListAllDomains () from > /usr/lib/libvirt.so.0 > #2 0x00007fd8d964db96 in libvirt_virConnectListAllDomains (self=<optimized > out>, args=<optimized out>) > at libvirt-override.c:2470 > #3 0x000000000052c6d5 in PyEval_EvalFrameEx () > #4 0x000000000055c594 in PyEval_EvalCodeEx () >...
2013 Jul 06
0
Re: deadlock on connection loosing
...from > /usr/lib64/libvirt.so.0 > #3 0x00007f574f18d79d in virNetServerRun () from /usr/lib64/libvirt.so.0 > #4 0x00007f574fac4149 in main () > > > i using git build 3a214482ec07be65adcfa9d8e08ad55a333589bb i have found source of problem, my code looks like this: int count = virConnectListAllDomains(connection, NULL, 0); .... domain = virDomainDefineXML(connection, d.write_to_string().c_str()); call to virConnectListAllDomains always cause libvirt deadlock. and another question, is here exists any other way to determinate number of persistent domains ?
2018 Apr 04
2
Re: error : virHashForEach:597 : Hash operation not allowed during iteration
...;virDomainObjListCollectIterator>, data=data@entry=0x7f931f813a20) at ../../../src/util/virhash.c:597 #1 0x00007f932ea911c3 in virDomainObjListCollect (domlist=0x7f92fc82dd50, conn=conn@entry=0x7f92e0000f80, vms=vms@entry=0x7f931f813a80, nvms=nvms@entry=0x7f931f813a90, filter=0x7f932ebdc6b0 <virConnectListAllDomainsCheckACL>, flags=48) at ../../../src/conf/virdomainobjlist.c:935 #2 0x00007f932ea91482 in virDomainObjListExport (domlist=<optimized out>, conn=0x7f92e0000f80, domains=0x7f931f813af0, filter=<optimized out>, flags=<optimized out>) at ../../../src/conf/virdomainobjlist.c:101...
2019 Feb 15
2
HELP!
I'm getting this error (below) [root@localhost test]# ./test virError(Code=6, Domain=20, Message='invalid connection pointer in virConnectListAllDomains') 0 running domains: when running this program :- (below) package main import ( "fmt" libvirt "github.com/libvirt/libvirt-go" ) type DomService struct { Conn *libvirt.Connect } func (d *DomService) Connect() error { var err error d.Conn,...
2019 Mar 11
0
Re: Obtaining the PID of a domain's QEMU process from C
...t's right, and it should stay that way. On the other hand, the same way we > can't prevent anyone from editing /etc/libvirt/qemu/<domain>.xml or > /var/run/libvirt/qemu/<domain>.xml or run the 'ps' command or whatever we might > as well report the PID as part of virConnectListAllDomains data. I don't have > a problem with reporting PIDs in principle, provided it's used for informatory > purposes. > Having said that, there's the question of why libvirt should report something > that it doesn't need to consume, IOW we report machine ID which we can use to...
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo