[virt-tools-list] [virt-viewer] [PATCH] Listen to virNetwork's Lifecycle events

Christophe Fergeau cfergeau at redhat.com
Wed Nov 19 11:39:25 UTC 2014


Hey,

On Wed, Nov 19, 2014 at 04:31:00AM +0100, Fabiano Fidêncio wrote:
> Apart from the usual virDomain's Lifecycle events, we have to listen to
> the virNetwork's Lifecycle events in order to get notifications about
> libvirt deamon being started/stopped/restarted, which is useful when
> connecting to guest through qemu+ssh://

virNetwork lifecycle events are related to libvirt networks
started/stopped with virsh net-start/virsh net-destroyed. That you get
such events when libvirtd restarts seems to just be a side-effect. Imo
we really should get an event from  virConnectRegisterCloseCallback when
libvirtd goes away. Could it be that libvirt has a similar issue to what
was fixed in virt-viewer in 3eaecbb "Use socat instead of nc if
possible" ?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20141119/f771c21c/attachment.sig>


More information about the virt-tools-list mailing list