On 11/20/18 2:54 PM, Marc Hartmayer wrote:
From: Marc Hartmayer <mhartmay(a)linux.vnet.ibm.com>
The test driver state (@testDriver) uses it's own reference counting
and locking implementation. Instead of doing that, convert @testDriver
into a virObjectLockable and use the provided functionalities.
Signed-off-by: Marc Hartmayer <mhartmay(a)linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.ibm.com>
---
This patch was originally posted with the patch series "[libvirt]
[PATCH libvirt v2 0/9] Fix virConnectRegisterCloseCallback and get rid
of global variables"
(mid:20180412124104.10547-1-mhartmay@linux.vnet.ibm.com).
I dropped the r-b from John because so much time has passed.
---
src/test/test_driver.c | 198 ++++++++++++++++++-----------------------
1 file changed, 87 insertions(+), 111 deletions(-)
ACKed and pushed.
Michal