[libvirt] [PATCHv3 2/6] libvirt: Increase connection reference count for callbacks

Eric Blake eblake at redhat.com
Mon Apr 1 22:46:09 UTC 2013


On 03/31/2013 10:20 AM, Peter Krempa wrote:
> From: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> 
> By adjusting the reference count of the connection object we
> prevent races between callback function and virConnectClose.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  src/libvirt.c | 5 +++++
>  1 file changed, 5 insertions(+)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130401/e4075e4a/attachment-0001.sig>


More information about the libvir-list mailing list