libvirtd will lock if for example kill programm which established connection,
only sigkill + restart helps., to reproduce:
virConnectPtr libvirt_connection = virConnectOpen("qemu:///system");
if(libvirt_connection == NULL)
{
std::cout<<"failed to connect to qemu:///system\n";
exit(-1);
}
exit(0);