[libvirt-users] set keep alive

Fl@sh kaperang07 at gmail.com
Wed Apr 2 18:23:12 UTC 2014


On Wed, 02 Apr 2014 12:04:34 +0200
Claudio Bley <cbley at av-test.de> wrote:

> At Tue, 1 Apr 2014 17:29:25 +0400,
> Fl at 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...

Thanks!

-- 
Fl at sh




More information about the libvirt-users mailing list