qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: The MoonSeeker <themoonseeker@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem with the -serial option of qemu
Date: Thu, 05 Jul 2007 10:44:01 -0500	[thread overview]
Message-ID: <468D11C1.1040509@windriver.com> (raw)
In-Reply-To: <C2BB89FD-F97D-4ADF-B938-264C20A3C8C2@gmail.com>

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.

  reply	other threads:[~2007-07-05 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 13:07 [Qemu-devel] Problem with the -serial option of qemu The MoonSeeker
2007-07-05 15:44 ` Jason Wessel [this message]
2007-07-06  9:43   ` The MoonSeeker
2007-07-11 18:16     ` Jan Marten Simons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=468D11C1.1040509@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=qemu-devel@nongnu.org \
    --cc=themoonseeker@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).