Re: [Libvir] RFC: Broadcast our presence with avahi

2007-09-13 Thread Daniel Veillard
On Fri, Sep 14, 2007 at 03:26:40AM +0100, Daniel P. Berrange wrote: > All the really trendy network services these days broadcast their presence > on the LAN using mDNS. In Linux world this means becoming an Avahi client > and registering our services. virt-manager is also able to become an Avahi >

[Libvir] RFC: Broadcast our presence with avahi

2007-09-13 Thread Daniel P. Berrange
All the really trendy network services these days broadcast their presence on the LAN using mDNS. In Linux world this means becoming an Avahi client and registering our services. virt-manager is also able to become an Avahi client and browser for services. So you'll be able to let the user just pic

Re: [Libvir] PATCH: Prevent zombie ssh tunnels

2007-09-13 Thread Daniel P. Berrange
On Tue, Sep 11, 2007 at 04:56:13AM -0400, Daniel Veillard wrote: > On Tue, Sep 11, 2007 at 12:59:59AM +0100, Daniel P. Berrange wrote: > > I noticed that when using the SSH tunnel for the remote driver I ended up > > with alot of zombie SSH processes. We simply forgot to waitpid() on the > > child

[Libvir] Re: [PATCH] add no_tty flag for ssh

2007-09-13 Thread Daniel P. Berrange
On Wed, Sep 12, 2007 at 11:21:29AM +0100, Richard W.M. Jones wrote: > > This patch adds an extra no_tty=1 flag to the connection URI. This > stops ssh from asking for a password if it can't log in automatically. > Typical use-case for this is in graphical programs where if ssh asks for > a pas

Re: [Libvir] [PATCH] add no_tty flag for ssh

2007-09-13 Thread Daniel P. Berrange
On Wed, Sep 12, 2007 at 11:23:58AM +0100, Richard W.M. Jones wrote: > Richard W.M. Jones wrote: > >This patch adds an extra no_tty=1 flag to the connection URI. This > >stops ssh from asking for a password if it can't log in automatically. > >Typical use-case for this is in graphical programs wh

Re: [Libvir] Network blocking issue

2007-09-13 Thread Richard W.M. Jones
Shuveb Hussain wrote: Hi, I observed this while using the python bindings and accessing a remote host with libvirt: import libvirt c = libvirt.open('xen://veetee/') c.getInfo() ['i686', 2021, 2, 1864, 1, 1, 2, 1] c.getInfo() ['i686', 2021, 2, 1864, 1, 1, 2, 1] # remove network cable from r

Re: [Libvir] Java bindings

2007-09-13 Thread Tóth István
I think that any 1.5.0 or later java will do, but the specific packages I use are: java-1.5.0-sun-1.5.0.10-2jpp java-1.5.0-sun-devel-1.5.0.10-2jpp java-1.5.0-sun-src-1.5.0.10-2jpp java-1.5.0-sun-fonts-1.5.0.10-2jpp java-1.5.0-sun-alsa-1.5.0.10-2jpp java-1.5.0-sun-demo-1.5.0.10-2jpp These are bu

Re: [PATCH] Re: [Libvir] Segfault with invalid virConnectPtr

2007-09-13 Thread Richard W.M. Jones
Daniel Veillard wrote: @@ -786,7 +786,7 @@ virDomainGetConnect (virDomainPtr dom) DEBUG("dom=%p", dom); if (!VIR_IS_DOMAIN (dom)) { -virLibDomainError (dom, VIR_ERR_INVALID_DOMAIN, __FUNCTION__); +virLibDomainError (NULL, VIR_ERR_INVALID_DOMAIN, __FUNCTION__);

[Libvir] Network blocking issue

2007-09-13 Thread Shuveb Hussain
Hi, I observed this while using the python bindings and accessing a remote host with libvirt: >>> import libvirt >>> c = libvirt.open('xen://veetee/') >>> c.getInfo() ['i686', 2021, 2, 1864, 1, 1, 2, 1] >>> c.getInfo() ['i686', 2021, 2, 1864, 1, 1, 2, 1] # remove network cable from remote machin

Re: [Libvir] Java bindings

2007-09-13 Thread Daniel Veillard
On Wed, Sep 12, 2007 at 08:37:33PM +0200, Tóth István wrote: > Hello! > > A development version of the java bindings I've been working on are > available at : > > http://tiger.3ginformatika.hu/java-libvirt.tgz Excellent, I'm just not able to look at it right now, I will try to review it ov