Re: How to tell if a hypervisor connection has died?

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

 



Am Donnerstag, 25. April 2013, 12:04:21 schrieb Eric Blake:
> On 04/25/2013 11:49 AM, Guido Winkelmann wrote:
> > Hi,
> > 
> > What's the best way to tell if a virConnect object is not good to use
> > anymore? (For example because the libvirtd on the other side crashed/has
> > been stopped or because of some network failure)
> 
> Try using virConnectIsAlive().

That did the trick, thanks!

	Guido

_______________________________________________
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