From: Derek Fawcus <dfawcus@cisco.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] new feature: attach a process to emulated serial port
Date: Mon, 11 Oct 2004 14:26:30 +0100 [thread overview]
Message-ID: <20041011142629.C1087@edinburgh.cisco.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0410082344510.1937@hatatitla.NotaMusica.com>; from jmartin@notamusica.com on Fri, Oct 08, 2004 at 11:46:21PM +0200
On Fri, Oct 08, 2004 at 11:46:21PM +0200, Johannes Martin wrote:
> 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.
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 <path> -serialout <path> and have -serial <path>
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
DF
next prev parent reply other threads:[~2004-10-11 13:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-08 21:46 [Qemu-devel] new feature: attach a process to emulated serial port Johannes Martin
2004-10-11 13:26 ` Derek Fawcus [this message]
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=20041011142629.C1087@edinburgh.cisco.com \
--to=dfawcus@cisco.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).