search for: write_to_string

Displaying 4 results from an estimated 4 matches for "write_to_string".

Did you mean: drive_to_string
2013 Jul 08
2
Re: deadlock on connection loosing
...Александр написал: >> В письме от Вторник, 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 ? > This code is just a reproducer. Client shouldn't be able to deadlock libvirtd at...
2013 Jul 08
0
Re: deadlock on connection loosing
...от Вторник, 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 ? > > This code is just a reproducer. Client sho...
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"); > >
2013 Jul 06
0
Re: deadlock on connection loosing
...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 ?