]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow sync IO and keepalives to be skipped in RPC client setup
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 7 Aug 2012 11:09:51 +0000 (12:09 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 15 Aug 2012 09:58:30 +0000 (10:58 +0100)
commit86f5457d494a8c189bf0f762f958575af0a319a5
tree5b7ffbd638c3936b695879bdd2ef3308316241a7
parent95e49be5e253248a803301ad6eeb4f00b51b44e7
Allow sync IO and keepalives to be skipped in RPC client setup

Currently the virNetClientPtr constructor will always register
the async IO event handler and the keepalive objects. In the
case of the lock manager, there will be no event loop available
nor keepalive support required. Split this setup out of the
constructor and into separate methods.

The remote driver will enable async IO and keepalives, while
the LXC driver will only enable async IO

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/lxc/lxc_monitor.c
src/remote/remote_driver.c
src/rpc/virnetclient.c
src/rpc/virnetclient.h