[libvirt] [PATCH] test: Convert testDriver to virObjectLockable
Michal Privoznik
mprivozn at redhat.com
Mon Nov 26 14:29:45 UTC 2018
On 11/20/18 2:54 PM, Marc Hartmayer wrote:
> From: Marc Hartmayer <mhartmay at 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 at linux.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy at 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 at 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
More information about the libvir-list
mailing list