27.12.3. Serial console output from fully virtualized guests
This section covers how to enable serial console output for fully virtualized guests.
Fully virtualized guest serial console output can be viewed with the "virsh console
" command.
Be aware fully virtualized guest serial consoles have some limitations. Present limitations include:
The serial port is called ttyS0
on Linux or COM1
on Windows.
You must configure the virtualized operating system to output information to the virtual serial port.
To output kernel information from a fully virtualized Linux guest into the domain modify the /boot/grub/grub.conf
file by inserting the line "
console=tty0 console=ttys0,115200
".
title Red Hat Enterprise Linux Server (2.6.18-92.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/volgroup00/logvol00
console=tty0 console=ttys0,115200
initrd /initrd-2.6.18-92.el5.img
Reboot the guest.
View the serial console messages using the "
virsh console
" command.
Note
Serial console messages from fully virtualized domains are not logged in /var/log/xen/console
as they are for para-virtualized guests.