From: Rob Landley <rob@landley.net>
To: bala suru <balaqemu@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Serial port on virtual machines
Date: Sat, 20 Aug 2011 15:59:32 -0500 [thread overview]
Message-ID: <4E502034.1060907@landley.net> (raw)
In-Reply-To: <CAOYyr-t-WMXTtB5CG5AbF-Fi1F4XuzsfWg8TrUvTusSoi1eu4g@mail.gmail.com>
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
prev parent reply other threads:[~2011-08-20 20:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 15:00 [Qemu-devel] Serial port on virtual machines bala suru
2011-08-18 16:43 ` Mulyadi Santosa
2011-08-20 20:59 ` Rob Landley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E502034.1060907@landley.net \
--to=rob@landley.net \
--cc=balaqemu@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).