Re: deadlock on connection loosing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux