Re: [libvirt] [PATCH 1/3] Allow use of a private dbus bus connection

2013-10-11 Thread Eric Blake
On 10/11/2013 10:50 AM, Daniel P. Berrange wrote: > On Fri, Oct 11, 2013 at 10:36:37AM -0600, Eric Blake wrote: >> On 10/11/2013 09:19 AM, Daniel P. Berrange wrote: >>> From: "Daniel P. Berrange" >>> >>> The dbus_bus_get() function returns a shared bus connection that >>> all libraries in a proces

Re: [libvirt] [PATCH 1/3] Allow use of a private dbus bus connection

2013-10-11 Thread Daniel P. Berrange
On Fri, Oct 11, 2013 at 10:36:37AM -0600, Eric Blake wrote: > On 10/11/2013 09:19 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > The dbus_bus_get() function returns a shared bus connection that > > all libraries in a process can use. You are forbidden from calling > > close

Re: [libvirt] [PATCH 1/3] Allow use of a private dbus bus connection

2013-10-11 Thread Eric Blake
On 10/11/2013 09:19 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > The dbus_bus_get() function returns a shared bus connection that > all libraries in a process can use. You are forbidden from calling > close on this connection though, since you can never know if any > other code

[libvirt] [PATCH 1/3] Allow use of a private dbus bus connection

2013-10-11 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The dbus_bus_get() function returns a shared bus connection that all libraries in a process can use. You are forbidden from calling close on this connection though, since you can never know if any other code might be using it. Add an option to use private dbus bus conn