From: Gianni Tedesco Subject: Re: [PATCH] implement xl vncviewer Date: Wed, 21 Jul 2010 16:57:28 +0100 Message-ID: <1279727848.1723.1986.camel@qabil.uk.xensource.com> References: <1279634315.1723.1927.camel@qabil.uk.xensource.com> <19527.6203.817621.776690@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19527.6203.817621.776690@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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. Thanks