[libvirt] [PATCH v3 09/13] Introduce virConnectIsAlive API
Daniel P. Berrange
berrange at redhat.com
Tue Oct 18 09:37:45 UTC 2011
On Wed, Oct 12, 2011 at 07:16:27AM +0200, Jiri Denemark wrote:
> This API can be used to check if the socket associated with
> virConnectPtr is still open or it was closed (probably because keepalive
> protocol timed out). If there the connection is local (i.e., no socket
> is associated with the connection, it is trivially always alive.
> ---
> Notes:
> Version 3:
> - no changes
>
> Version 2:
> - new patch
>
> include/libvirt/libvirt.h.in | 1 +
> src/driver.h | 3 +++
> src/libvirt.c | 36 ++++++++++++++++++++++++++++++++++++
> src/libvirt_public.syms | 1 +
> 4 files changed, 41 insertions(+), 0 deletions(-)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list