]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: virnetserver: Support retrieval of a list of clients
authorErik Skultety <eskultet@redhat.com>
Thu, 14 Apr 2016 22:21:05 +0000 (00:21 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 2 May 2016 20:26:23 +0000 (22:26 +0200)
commit04bab54d05f1850de5f0bae24eb0ac68ec6387d3
tree391512c3495f91c6a59626a11288ed4a90de0dbb
parent4bd430748c10a209ca718952e74e7413aff3845b
rpc: virnetserver: Support retrieval of a list of clients

For now, the list copy is done simply by locking the whole server, walking the
original and increasing the refcount on each object. We may want to change
the list to a lockable object (like list of domains) later in the future if
we discover some performance issues related to locking the whole server in
order to walk the whole list of clients, possibly issuing some 'ForEach'
callback.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/libvirt_remote.syms
src/rpc/virnetserver.c
src/rpc/virnetserver.h