From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cpv3M-0003bR-ER for qemu-devel@nongnu.org; Sat, 15 Jan 2005 16:01:48 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cpv1i-0002wR-Sy for qemu-devel@nongnu.org; Sat, 15 Jan 2005 16:00:07 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CpuOy-0007Xb-Mp for qemu-devel@nongnu.org; Sat, 15 Jan 2005 15:20:04 -0500 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id 946EF3320E for ; Sat, 15 Jan 2005 21:20:02 +0100 (CET) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27444-05 for ; Sat, 15 Jan 2005 21:20:02 +0100 (CET) Received: from [84.99.204.35] (unknown [84.99.204.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 5DAB03320A for ; Sat, 15 Jan 2005 21:20:02 +0100 (CET) Message-ID: <41E97B1F.3090506@bellard.org> Date: Sat, 15 Jan 2005 21:20:47 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] parallel and -nographic References: <20050115192223.7875.51285.68676@kubu> In-Reply-To: <20050115192223.7875.51285.68676@kubu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I think the bug comes from the fact that the parallel port is redirected to stdio in -nographic mode. I see no reason to do that. Fabrice. Magnus Damm wrote: > Hello, > > The recent parallel port change broke -nographic. Without this patch > "qemu -nographic" fails and outputs the following error: > > qemu: could not open parallel device 'stdio' > > / magnus > > Index: vl.c > =================================================================== > RCS file: /cvsroot/qemu/qemu/vl.c,v > retrieving revision 1.116 > diff -u -r1.116 vl.c > --- vl.c 15 Jan 2005 12:02:56 -0000 1.116 > +++ vl.c 15 Jan 2005 19:10:31 -0000 > @@ -1033,7 +1033,7 @@ > void *fd_opaque; > } FDCharDriver; > > -#define STDIO_MAX_CLIENTS 2 > +#define STDIO_MAX_CLIENTS 3 > > static int stdio_nb_clients; > static CharDriverState *stdio_clients[STDIO_MAX_CLIENTS]; > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > >