From: Stefan Hajnoczi <stefanha@gmail.com>
To: bala suru <balaqemu@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] unable to access the serial port on the Vm
Date: Mon, 12 Sep 2011 10:26:47 +0100 [thread overview]
Message-ID: <CAJSP0QXN_ULUQ-TOtoJrGj3iFSCWyLO6-kJO93ottowH2Qm0tQ@mail.gmail.com> (raw)
In-Reply-To: <CAJSP0QVqagWuE3jF39bJBXp5LHZs+CKmQ-NpQ5QTiARH9FVcSQ@mail.gmail.com>
I sent before noticing that your email dropped qemu-devel@nongnu.org
from the CC list again.
Please use Reply-All when responding on mailing lists. That way the
mailing list stays CCed and others can contribute to the discussion.
On Mon, Sep 12, 2011 at 10:25 AM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> On Mon, Sep 12, 2011 at 10:08 AM, bala suru <balaqemu@gmail.com> wrote:
>> This is what I got when I run the "ps aux | grep qemu"
>> root 4748 3.1 0.6 122208 25032 ? Sl 11:52 5:13
>> /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 64 -smp 1 -name one-26 -uuid
>> 16025c13-421f-143c-563b-07661fa59fe3 -nographic -chardev
>> socket,id=monitor,path=/var/lib/libvirt/qemu/one-26.monitor,server,nowait
>> -monitor chardev:monitor -no-acpi -boot c -drive
>> file=/srv/cloud/one/var//26/images/disk.0,if=ide,index=0,boot=on,format=raw
>> -net nic,macaddr=02:00:c0:a8:7a:07,vlan=0,name=nic.0 -net
>> tap,fd=29,vlan=0,name=tap.0 -serial none -parallel none -usb
>> oneadmin 8137 0.0 0.0 3324 788 pts/1 S+ 14:36 0:00 grep qemu
>>
>> Still I have not understood that "Normally the emulated serial port can be
>> redirected to your current
>> terminal by launching qemu with "-serial stdio" How to make this through
>> qemu .
>
> Thanks for posting the ps output. The reason why your serial is not
> working is because libvirt is starting QEMU with "-serial none". That
> means your virtual machine does not have an emulated serial port.
>
> You can fix this from virt-manager by editing the virtual machine
> Details | Add Hardware | Serial and setting Device Type to Pseudo TTY
> (pty). Then it should be possible to view the serial console while
> the VM is running.
>
> If you want to use virsh instead of virt-manager, check for the domain
> XML syntax here:
> http://libvirt.org/formatdomain.html#elementsConsole
>
> Stefan
>
next prev parent reply other threads:[~2011-09-12 9:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 17:12 [Qemu-devel] unable to access the serial port on the Vm bala suru
2011-09-09 18:00 ` Stefan Hajnoczi
[not found] ` <CAOYyr-sgbRtpBYsWUUwZufzniTxqV3nJkLQyR=RMOR53+4gDtA@mail.gmail.com>
2011-09-11 15:26 ` Stefan Hajnoczi
[not found] ` <CAOYyr-vK987n_=7uzKkacS5pyQE88CUZvNK9WpNVO+DRvVtZkA@mail.gmail.com>
[not found] ` <CAJSP0QVqagWuE3jF39bJBXp5LHZs+CKmQ-NpQ5QTiARH9FVcSQ@mail.gmail.com>
2011-09-12 9:26 ` Stefan Hajnoczi [this message]
2011-09-12 10:19 ` bala suru
2011-09-12 10:54 ` Stefan Hajnoczi
2011-09-12 11:35 ` bala suru
2011-09-12 18:21 ` Stefan Hajnoczi
2011-09-13 4:59 ` bala suru
2011-09-13 5:23 ` Stefan Hajnoczi
2011-09-13 6:27 ` bala suru
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=CAJSP0QXN_ULUQ-TOtoJrGj3iFSCWyLO6-kJO93ottowH2Qm0tQ@mail.gmail.com \
--to=stefanha@gmail.com \
--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).