[fedora-virt] Seriel Console kvm --> host

Kashyap Chamarthy kashyapc at fedoraproject.org
Fri Jun 3 15:36:14 UTC 2011


On 06/03/2011 08:30 PM, Frank Murphy wrote:
> Any ideas of how to setup seriel console between KVM guest,
> and the host. to collect as much bootup info as possible.
> befor  a problem.

Place these parameters on your kernel command-line (in your kickstart file/or whatever 
you're using to provision your guests)
----
console=tty0 console=ttyS0,115200
-----

Then from your host, try this:
------------------------------------
#start your guest
virsh start f15test
------------------------------------
#connect to guest serial console
virsh console f15test
------------------------------------

Note: A bootloader parameter in kickstart file looks like below.
----
bootloader --location=mbr --append="crashkernel=auto console=tty0 console=ttyS0,115200"
----

hope that helps,
/kashyap
>



More information about the virt mailing list