[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Serial port on virtual machines
From: |
Rob Landley |
Subject: |
Re: [Qemu-devel] Serial port on virtual machines |
Date: |
Sat, 20 Aug 2011 15:59:32 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
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