From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIBBU-00040c-M5 for qemu-devel@nongnu.org; Sat, 11 Mar 2006 15:59:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIBBS-0003yq-W1 for qemu-devel@nongnu.org; Sat, 11 Mar 2006 15:59:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIBBS-0003yj-Pv for qemu-devel@nongnu.org; Sat, 11 Mar 2006 15:59:30 -0500 Received: from [66.187.233.31] (helo=mx1.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIBEw-0007H2-3q for qemu-devel@nongnu.org; Sat, 11 Mar 2006 16:03:07 -0500 Date: Sat, 11 Mar 2006 15:59:18 -0500 From: Daniel Veillard Subject: Re: [Qemu-devel] [PATCH] Remote console access though socket Message-ID: <20060311205918.GK346@redhat.com> References: <20060308145211.GG346@redhat.com> <4412F9C8.8070508@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4412F9C8.8070508@gmx.de> Reply-To: veillard@redhat.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Oliver Gerlich Cc: qemu-devel@nongnu.org On Sat, Mar 11, 2006 at 05:24:40PM +0100, Oliver Gerlich wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Daniel Veillard schrieb: > > Hi, > > > > enclosed is a first version of a patch to allow remote access and control > > for QEmu instances, I'm not suggesting to apply it as is (though it seems > > to work in my limited testing) but would rather like to get comments back > > for choices I'm facing. > [...] > > There is a number of open questions which would need to be resolved before > > applying any such patch: > > - First one is the unix socket, we could as easilly start normal port > > based access but: > > + I would really like to be able to list the current running instance > > without checking all process on the OS, and mapping in the file > > system seems the easiest way > > Just an idea: how about using "Multicast DNS" (see multicastdns.org)? > IIUC it provides a generic way to find services on a net; and it's > supported at least by MacOSX and with eg. Avahi (see avahi.org) also on > Linux. Not sure about Windows, though... It's rather LAN oriented, I need first to find the ports of the QEmu instances (plural, if you limit to one per box, then you can block the default port number and there would be no problem) on a local machine. I don't think that "Multicast DNS"/RendezVous works with random port numbers, all it does over normal TCP is scan for local hosts without using DNS resolution. Again I don't think it's really the problem I'm trying to solve, maybe I just didn't expressed myself clearly :-) Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/