From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHKfn-0000Lm-58 for qemu-devel@nongnu.org; Thu, 09 Mar 2006 07:55:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHKfi-0000FA-IA for qemu-devel@nongnu.org; Thu, 09 Mar 2006 07:55:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHKfi-0000Ew-As for qemu-devel@nongnu.org; Thu, 09 Mar 2006 07:55:14 -0500 Received: from [82.67.66.12] (helo=veillard.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FHKim-00032C-2D for qemu-devel@nongnu.org; Thu, 09 Mar 2006 07:58:24 -0500 From: Daniel Veillard Subject: Re: [Qemu-devel] [PATCH] Remote console access though socket Message-ID: <20060309125439.GI8294@daniel.veillard.com> References: <200603090300.13378.wanderer@ipinc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603090300.13378.wanderer@ipinc.net> Reply-To: daniel@veillard.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 09 Mar 2006 12:55:19 -0000 To: wanderer@ipinc.net Cc: qemu-devel@nongnu.org, daniel@veillard.com On Thu, Mar 09, 2006 at 03:00:13AM -0800, wanderer@ipinc.net wrote: > I placed a patch on The Qemu Forum (qemu.dad-answers.com) that already > provides this capability in a more inclusive manner. That is, you can remote > the console (monitor) through any active pty or pipe process. Telnet could be > one choice to get the functionality you are getting at here. > > Then again, perhaps I misunderstood your code entirely. Take a look and see. Sounds different to me. For pipe, you need to launch the qemu program in a given way, you can't attach to it later (and /proc/$pid/fd/* trick is really limited to Linux). W.r.t. PTY access I assume only one program can locally attach to it, my patch may allow: - remote access if using port based access - multiple simultaneous external access So I tend to think the goals and use are differents, it's not about redirecting console, but rather allow remote asynchonous control over qemu instance(s). Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ |