I would like to connect two machines via ttyS0
Here's what I did on the guest machines:
Add to /etc/inittab:
Add to /etc/securetty:
Try to connect to A
cu -l /dev/ttyS0
Here's what I did on the host machine:
mkfifo /tmp/serialbridge qemu-system-x86_64 -hda A.qcow2 -net nic -net user -m 2048 -enable-kvm -cpu host -machine type=pc,accel=kvm -serial pipe:/tmp/serialbridge qemu-system-x86_64 -hda B.qcow2 -net nic -net user -m 2048 -enable-kvm -cpu host -machine type=pc,accel=kvm -serial pipe:/tmp/serialbridge
I guess the paramter "-serial pipe:/tmp/serialbridge" is wrong. Any ideas how to fix that?
(Qemu is self-compiled from the latest Git tree.)
Result: cu doesn't show login, but rather seems stuck. The other machine seems to hang after login screen. Both run Debian Squeeze.