WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] implement xl vncviewer

To: "Gianni Tedesco (3P)" <gianni.tedesco@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] implement xl vncviewer
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 21 Jul 2010 17:21:55 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 21 Jul 2010 09:22:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1279727848.1723.1986.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1279634315.1723.1927.camel@xxxxxxxxxxxxxxxxxxxxxx> <19527.6203.817621.776690@xxxxxxxxxxxxxxxxxxxxxxxx> <1279727848.1723.1986.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Wed, 21 Jul 2010, Gianni Tedesco (3P) wrote:
> On Wed, 2010-07-21 at 16:54 +0100, Ian Jackson wrote:
> > Gianni Tedesco writes ("[Xen-devel] [PATCH] implement xl vncviewer"):
> > > +int libxl_vncviewer_exec(struct libxl_ctx *ctx, uint32_t domid, int 
> > > autopass)
> > > +{
> > 
> > I think this is the wrong interface.  What if I'm a management
> > interface and I want to provide a vnc: URL or something ?
> > 
> > The host/address and port information should be extractable from
> > libxl.
> > 
> > Ian.
> 
> I was following convention used for xenconsole exec. I think a
> management interface might want to find pty node too for example.
> 
> I could implement a further patch which includes a set of calls to
> expose orthogonal bits of functionality.
 
We could definitely improve the interface splitting the current
libxl_vncviewer_exec in two functions, one to get the vnc connection
details and the other one to fork and exec vncviewer.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>