[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] unable to access the serial port on the Vm
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] unable to access the serial port on the Vm |
Date: |
Mon, 12 Sep 2011 10:26:47 +0100 |
I sent before noticing that your email dropped address@hidden
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 <address@hidden> wrote:
> On Mon, Sep 12, 2011 at 10:08 AM, bala suru <address@hidden> 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
>
- [Qemu-devel] unable to access the serial port on the Vm, bala suru, 2011/09/08
- Re: [Qemu-devel] unable to access the serial port on the Vm, Stefan Hajnoczi, 2011/09/11
- Message not available
- Re: [Qemu-devel] unable to access the serial port on the Vm, Stefan Hajnoczi, 2011/09/11
- Message not available
- Message not available
- Re: [Qemu-devel] unable to access the serial port on the Vm,
Stefan Hajnoczi <=
- Re: [Qemu-devel] unable to access the serial port on the Vm, bala suru, 2011/09/12
- Re: [Qemu-devel] unable to access the serial port on the Vm, Stefan Hajnoczi, 2011/09/12
- Re: [Qemu-devel] unable to access the serial port on the Vm, bala suru, 2011/09/12
- Re: [Qemu-devel] unable to access the serial port on the Vm, Stefan Hajnoczi, 2011/09/12
- Re: [Qemu-devel] unable to access the serial port on the Vm, bala suru, 2011/09/13
- Re: [Qemu-devel] unable to access the serial port on the Vm, Stefan Hajnoczi, 2011/09/13
- Re: [Qemu-devel] unable to access the serial port on the Vm, bala suru, 2011/09/13