Re: [libvirt] [dbus RFC 06/11] connect: implement reconnect functionality to libvirt

2018-01-23 Thread Pavel Hrdina
On Tue, Jan 23, 2018 at 10:02:24AM +, Daniel P. Berrange wrote: > On Mon, Jan 22, 2018 at 06:16:04PM +0100, Pavel Hrdina wrote: > > If the connection dies for some reason between D-Bus calls we need > > to properly reconnect because the current connection is not usable > > anymore. Without

Re: [libvirt] [dbus RFC 06/11] connect: implement reconnect functionality to libvirt

2018-01-23 Thread Daniel P. Berrange
On Mon, Jan 22, 2018 at 06:16:04PM +0100, Pavel Hrdina wrote: > If the connection dies for some reason between D-Bus calls we need > to properly reconnect because the current connection is not usable > anymore. Without this the only solution would be to restart the > libvirt-dbus daemon. > >

[libvirt] [dbus RFC 06/11] connect: implement reconnect functionality to libvirt

2018-01-22 Thread Pavel Hrdina
If the connection dies for some reason between D-Bus calls we need to properly reconnect because the current connection is not usable anymore. Without this the only solution would be to restart the libvirt-dbus daemon. Signed-off-by: Pavel Hrdina --- src/connect.c | 37