Re: set keep alive

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

 



At Tue, 1 Apr 2014 17:29:25 +0400,
Fl@sh wrote:
> 
> Can anyone explain what is happening.
> After call
> 	virConnectOpen
> 	virEventRegisterDefaultImpl()
> call virConnectSetKeepAlive returns
> 	VirtError(1): internal error: the caller doesn't
> 	support keepalive protocol; perhaps it's missing
> 	event loop implementation,
> but the next call this sequence of commands returns success.
> Why virConnectSetKeepAlive not work right the first time?

AFAIK, you have to call virEventRegisterDefaultImpl *before* opening a
connection.

I'm pretty sure that it was documented somewhere, but now I can't seem
to find it...

_______________________________________________
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