Installation guide

# Log all guest console output (cf xm console)
XENCONSOLED_LOG_GUESTS=yes
Reboot the host to activate logging the guest serial console output.
Logs from the guest serial consoles are stored in the /var/log/xen/console file.
35.11.3. Serial console out put from fully virt ualized guest s
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:
logging output with xend is unavailable.
output data may be dropped or scrambled.
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.
35.12. Xen configurat ion files
When you create guests with the virt-manager or virt-install tools on Red Hat Enterprise
Linux 5, the guests configuration files are created automatically in the /etc/xen directory.
Warning
Red Hat advises users not to manually edit Xen configuration files. Xen configuration files
have limited error checking and many unsupported variables. Editing Xen configuration files
may damage your guests, make guests unbootable or cause data loss.
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
338