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@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to