[libvirt-users] Making multiple connections from an application using libvirt-0.6.3-20.1.el5_4

I came across a thread in the archives that seems to suggest that multiple connections can be made from a single application,although I am unsure what version(s) of libvirt support it. https://www.redhat.com/archives/libvirt-users/2010-March/msg00074.html I'd like to know if multiple connections(for eg,virConnectOpenAuth()) can be made from an application using libvirt-0.6.3-20.1.el5_4 . Thanks

On Fri, Feb 04, 2011 at 12:04:07AM -0500, Nandini Chandra wrote:
I came across a thread in the archives that seems to suggest that multiple connections can be made from a single application,although I am unsure what version(s) of libvirt support it. https://www.redhat.com/archives/libvirt-users/2010-March/msg00074.html
I'd like to know if multiple connections(for eg,virConnectOpenAuth()) can be made from an application using libvirt-0.6.3-20.1.el5_4 .
Yes, that's should be no problem, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Wed, Feb 09, 2011 at 11:58:04AM +0800, Daniel Veillard wrote:
On Fri, Feb 04, 2011 at 12:04:07AM -0500, Nandini Chandra wrote:
I came across a thread in the archives that seems to suggest that multiple connections can be made from a single application,although I am unsure what version(s) of libvirt support it. https://www.redhat.com/archives/libvirt-users/2010-March/msg00074.html
I'd like to know if multiple connections(for eg,virConnectOpenAuth()) can be made from an application using libvirt-0.6.3-20.1.el5_4 .
Yes, that's should be no problem,
Though it won't help you very much if you're looking for greater concurrency. libvirtd in 0.6.3 is still single threaded, so it will serialize all requests from the connections 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 :|
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
Nandini Chandra