qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] new feature: attach a process to emulated serial port


From: Johannes Martin
Subject: [Qemu-devel] new feature: attach a process to emulated serial port
Date: Fri, 8 Oct 2004 23:46:21 +0200 (CEST)

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: forkpty.tar.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]