qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Martin <jmartin@notamusica.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] new feature: attach a process to emulated serial port
Date: Fri, 8 Oct 2004 23:46:21 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.56.0410082344510.1937@hatatitla.NotaMusica.com> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 571 bytes --]

Hi,

The attached patch adds another variety of the -serial and -monitor
options. You can now use
        -serial "exec:any shell command"
to redirect the input/output of named shell command to the guest's serial
port.

For example, you could attach slirp to the guest's serial port and then
start a pppd on the serial port in the guest:
host:	qemu -serial "exec:slirp ppp"
guest:	pppd /dev/ttyS0 57600 defaultroute

This will help getting network connectivity in guests that don't like
qemu's network drivers (like OS/2).

Tested on current (2004-10-08) cvs.

	Johannes

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 1815 bytes --]

             reply	other threads:[~2004-10-08 23:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08 21:46 Johannes Martin [this message]
2004-10-11 13:26 ` [Qemu-devel] new feature: attach a process to emulated serial port Derek Fawcus
2004-10-11 15:22   ` André Braga
2004-10-11 15:47     ` Derek Fawcus
2004-10-11 16:03       ` André Braga
2004-10-11 20:32     ` Johannes Martin
2004-10-11 21:38       ` Derek Fawcus
2004-10-11 21:47         ` Derek Fawcus

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=Pine.LNX.4.56.0410082344510.1937@hatatitla.NotaMusica.com \
    --to=jmartin@notamusica.com \
    --cc=qemu-devel@nongnu.org \
    /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).