]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add APIs for virThreadPoolPtr to query some config params
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 9 Aug 2012 10:48:17 +0000 (11:48 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 15 Aug 2012 09:55:51 +0000 (10:55 +0100)
commit2241582c6a306e42d8cd86f88b3d19927eed2b9f
tree1caad4017e25ce9d66721a8c3b0e73938452df5c
parentecf00158ff9cce0cbf258f1ad2666549f4dbadc3
Add APIs for virThreadPoolPtr to query some config params

It is desirable to be able to query the config params of
the thread pool, in order to save the server state. Add
virThreadPoolGetMinWorkers, virThreadPoolGetMaxWorkers
and virThreadPoolGetPriorityWorkers APIs.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/util/threadpool.c
src/util/threadpool.h