]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: Add APIs for direct triggering of keepalive timer
authorJiri Denemark <jdenemar@redhat.com>
Tue, 12 Jun 2012 21:42:32 +0000 (23:42 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 13 Jun 2012 13:46:07 +0000 (15:46 +0200)
commit28c75382b00d75b129245dedc1ce92596b96ddf9
treee70ea12d28228bc762a9e0a76afe4b724408e23e
parenta2ba8686325c8ba61c95f3f1152ef4420a029c15
rpc: Add APIs for direct triggering of keepalive timer

Add virKeepAliveTimeout and virKeepAliveTrigger APIs that can be used to
set poll timeouts and trigger keepalive timer. virKeepAliveTrigger
checks if it is called to early and does nothing in that case.
src/rpc/virkeepalive.c
src/rpc/virkeepalive.h