From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6TUI-0002IG-Lu for qemu-devel@nongnu.org; Thu, 05 Jul 2007 11:43:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6TUE-0002AA-PC for qemu-devel@nongnu.org; Thu, 05 Jul 2007 11:43:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6TUE-00029k-Dd for qemu-devel@nongnu.org; Thu, 05 Jul 2007 11:43:18 -0400 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6TUD-0000iV-OL for qemu-devel@nongnu.org; Thu, 05 Jul 2007 11:43:18 -0400 Message-ID: <468D11C1.1040509@windriver.com> Date: Thu, 05 Jul 2007 10:44:01 -0500 From: Jason Wessel MIME-Version: 1.0 Subject: Re: [Qemu-devel] Problem with the -serial option of qemu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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: The MoonSeeker Cc: qemu-devel@nongnu.org The MoonSeeker wrote: > Hi everyone, > > I'm on gentoo 2.6.20-gentoo-r8 and I'm trying to send the serial port > of my linux guest to a tcp server. To do that, i use this command : > > qemu -hda linux.img -serial tcp::4000,server,nowait > > And I get this error : > > qemu: could not open serial device 'tcp::4000,server,nowait' > > I was using the same command on Ubuntu 6.06 and that was working. I > don't understand what's happen and how can I debug this? > > Thx for help! Make sure you are running the same version of QEMU in both places. Generally speaking if it says it could not open the device, it is because something else is using the port. % netstat -an |grep 4000 tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN % lsof -nP |grep 4000 redirector 15998 jwessel 3u IPv4 1661621 TCP *:4000 (LISTEN) In this example I started up an application called redirector on the port. I do not believe this issue is a qemu defect of any kind. Cheers, Jason.