[libvirt] [PATCH 10/13] Turn virKeepAlive into a virObject

2012-07-31 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Make virKeepAlive use the virObject APIs for reference counting Signed-off-by: Daniel P. Berrange berra...@redhat.com --- src/libvirt_probes.d |4 +-- src/rpc/virkeepalive.c | 73 +-

Re: [libvirt] [PATCH 10/13] Turn virKeepAlive into a virObject

2012-07-18 Thread Hu Tao
... @@ -179,20 +195,13 @@ virKeepAliveTimer(int timer ATTRIBUTE_UNUSED, void *opaque) } virKeepAliveLock(ka); -ka-refs--; +virObjectUnref(ka); cleanup: virKeepAliveUnlock(ka); } virObjectUnref may have freed ka and we are going to unlock a freed object.

Re: [libvirt] [PATCH 10/13] Turn virKeepAlive into a virObject

2012-07-17 Thread Eric Blake
On 07/11/2012 07:35 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Make virKeepAlive use the virObject APIs for reference counting Signed-off-by: Daniel P. Berrange berra...@redhat.com --- ACK -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt

[libvirt] [PATCH 10/13] Turn virKeepAlive into a virObject

2012-07-11 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Make virKeepAlive use the virObject APIs for reference counting Signed-off-by: Daniel P. Berrange berra...@redhat.com --- src/libvirt_probes.d |4 +-- src/rpc/virkeepalive.c | 73 +-