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 ? > This code is just a reproducer. Client shouldn't be able to deadlock libvirtd at all. Any API call should be deadlock safe (unless called from a callback). Which reminds me - do you use callbacks? Michal _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users