Using serial console to access virtual machines (Centos, KVM)

Last time I promised, that I’ll write how to connect to VM via serial console. So – this time very shortly and without any explanations:

On the guest OS:

 

Now add following param to kernel params in /etc/grub.conf:

And the last thing:

 

Now restart the guest OS and You’re good to connct to VM via:

virsh console guest_id

If You feel like interested in what happened above – please ask questions in comments – I’ll explain :)