* [Qemu-devel] Serial port on virtual machines
@ 2011-08-18 15:00 bala suru
2011-08-18 16:43 ` Mulyadi Santosa
2011-08-20 20:59 ` Rob Landley
0 siblings, 2 replies; 3+ messages in thread
From: bala suru @ 2011-08-18 15:00 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
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 ..?
[-- Attachment #2: Type: text/html, Size: 363 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Serial port on virtual machines
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
1 sibling, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2011-08-18 16:43 UTC (permalink / raw)
To: bala suru; +Cc: qemu-devel
On Thu, Aug 18, 2011 at 22:00, bala suru <balaqemu@gmail.com> 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) .
try to read the man page...i think you need to enable serial port
first. You might want to use "-serial" option for that case.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Serial port on virtual machines
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
1 sibling, 0 replies; 3+ messages in thread
From: Rob Landley @ 2011-08-20 20:59 UTC (permalink / raw)
To: bala suru; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-20 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).