Re: [libvirt-users] Lifecycle of a connection to libvirtd

2016-08-26 Thread Vincent Bernat
❦ 24 juillet 2016 23:13 CEST, Vincent Bernat  : > I am trying to figure out how to reliably maintain a connection to > libvirtd. From the documentation, I would expect something like that: > > - virConnectOpen() > - virConnectRegisterCloseCallback() > - virConnectSetKeepAlive() > - Applicatio

Re: [libvirt-users] Lifecycle of a connection to libvirtd

2016-07-24 Thread Vincent Bernat
❦ 25 juillet 2016 06:44 CEST, Martin Kletzander  : > You don't need to do any of these. The connection is checked as a part > of connection callback which we have just to de-duplicate some code in > virsh and virt-manager. It can happen that it is checked before the > first command and needs to

Re: [libvirt-users] Lifecycle of a connection to libvirtd

2016-07-24 Thread Martin Kletzander
On Sun, Jul 24, 2016 at 11:13:08PM +0200, Vincent Bernat wrote: Hey! I am trying to figure out how to reliably maintain a connection to libvirtd. From the documentation, I would expect something like that: - virConnectOpen() - virConnectRegisterCloseCallback() - virConnectSetKeepAlive() - Appli