On 11/1/05, Glenn Gagné <techinfo@confectionbeauce.com> wrote:
I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the virtual environement of Qemu. I have an old
MS-DOS application to use who communicate on serial port... But it's not working in the virtual environement.
Qemu is able to translate serial port data in the virtual environement through the real serial port (hardware) on my PC
?
Glenn Gagne
techinfo@confectionbeauce.com
Yeah, I didn't notice you are running QEMU on Windows. I guess serial
port is not redirectable under Windows and there are no current plans
to.
Under Linux I use -serial to redirect to a pty. Then you can use other
apps or emulators that will talk to a pty device. The most interesting
application here is probably socat or netcat since these will let you
shunt the serial channel onto pretty much any kind of two-way channel
(for example you could connect the pty to a real serial port, or a TCP
connection to an instance of socat on another machine, etc.)
For anyone who hasn't played with socat it's really an amazing tool.
-- John.