[libvirt-users] set keep alive

Claudio Bley cbley at av-test.de
Wed Apr 2 10:04:34 UTC 2014

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

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

More information about the libvirt-users mailing list