[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Serial port hacking -- BUG?
From: |
Hampa Hug |
Subject: |
Re: [Qemu-devel] Serial port hacking -- BUG? |
Date: |
Thu, 19 Aug 2004 22:47:39 +0200 |
Darryl Dixon wrote:
> I've been working on the latest snapshot's serial code and it
> appears that there is some sort of bug that is preventing data sent by a
> guest from making out to the host. For example, if one connects the
> builtin serial port (com1 or /dev/ttyS0) to stdio with '-serial stdio'
> then if you connect something like minicom or hyperterm to the
> appropriate port in the guest, you can see anything you type into the
> console (STDIN) of the host appearing correctly in the guest. However,
> if you send some data down the line from inside the guest, nothing
> 'comes out' at the host end (on STDOUT, in this example). I have also
> connected the host end of the pipe to a psuedo-terminal slave and the
> same behaviour is present; anything cat-ed (or whatever) to the pty on
> the Host appears on the serial port of the guest, but the reverse is not
> true...
You might want to try the attached patch, it solved this problem
for me.
cheers,
Hampa
qemu-serial.diff
Description: Text document