From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CH2Vr-0006S4-Ou for qemu-devel@nongnu.org; Mon, 11 Oct 2004 11:55:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CH2Vo-0006QV-PH for qemu-devel@nongnu.org; Mon, 11 Oct 2004 11:55:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CH2Vo-0006QO-LM for qemu-devel@nongnu.org; Mon, 11 Oct 2004 11:55:00 -0400 Received: from [144.254.224.140] (helo=ams-iport-1.cisco.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH2OX-0003iG-Dr for qemu-devel@nongnu.org; Mon, 11 Oct 2004 11:47:29 -0400 Date: Mon, 11 Oct 2004 16:47:22 +0100 From: Derek Fawcus Subject: Re: [Qemu-devel] new feature: attach a process to emulated serial port Message-ID: <20041011164722.I1087@edinburgh.cisco.com> References: <20041011142629.C1087@edinburgh.cisco.com> <2ad73a0410110822151a58fc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <2ad73a0410110822151a58fc@mail.gmail.com>; from meianoite@gmail.com on Mon, Oct 11, 2004 at 12:22:37PM -0300 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Andr=E9_Braga?= , qemu-devel@nongnu.org On Mon, Oct 11, 2004 at 12:22:37PM -0300, André Braga wrote: > On Mon, 11 Oct 2004 14:26:30 +0100, Derek Fawcus wrote: > > Hmm. How about simply using FIFO's instead, then one doesn't have any > > issues with fork/system/etc > > > > i.e. add options of -serialin -serialout and have -serial > > set both of the above. Then one can simply do: > > > > mkfifo /tmp/serin /tmp/serout > > anycmd < /tmp/serout > /tmp/serin & > > qemu ... -serialin /tmp/serin -serialout /tmp/serialout > > That would make this feature available only on operating systems that > support user-created named pipes. Yeah - but they're the only interesting ones :-) Hmm is it so easy to connect process with a bi-dir like pipe on Windows (NT) machines? > IOW, named pipes do exist on Windows, but they're not easy to access by the user. Hmm - SFU? The recent versions (w2k/xp only) are supposed to be very unix like, but even the earlier version would probably support fifo's well enougth. Mind - connecting the GUI on the earlier versions would be difficult. > Forking is a more universal approach, as I see it. Modulo the above proviso? Is there the ability to create "proper" pipes between processes on NT from native win32 code? DF