On 08/18/2011 10:00 AM, bala suru wrote:
> Hi,
> 
> I'm running VM on kvm-qemu hyper visor . I need to access the serail
> port on the VM ,
> I tried the sample code to read/write com port but I get port error when
> ever I tried write something to the port(dev/ttyS0) .
> 
> the same code work fine on the normal OS .. is it the same way  as
> normal OS for accessing the serial port in vms ..?

I'm using a serial console in my system images.  Download any the
system-image tarballs at:

  http://landley.net/aboriginal/downloads/binaries/

Then use the "./run-emulator.sh" scripts, which should give you a serial
console in the emulated Linux system connected to qemu's stdin/stdout.
The qemu command line is in that script.

Rb

Reply via email to