Bug 466891 - Feature Request: Inclusion of serial port redirection to a file in rhel
Summary: Feature Request: Inclusion of serial port redirection to a file in rhel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 475821
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-14 11:43 UTC by Gurhan Ozen
Modified: 2013-11-04 01:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 09:21:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:1269 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2009-09-01 09:31:21 UTC

Description Gurhan Ozen 2008-10-14 11:43:30 UTC
Description of problem:
This is a feature request spun off of #465148 . It'd be helpful for our automated testing efforts if we could have serial port redirection to a file feature included in RHEL. 

Version-Release number of selected component (if applicable):
RHEL

Comment 2 Cole Robinson 2009-02-16 00:05:51 UTC
Pretty certain this is present in upstream libvirt, so we get this for free if we rebase.

Comment 3 Daniel Berrangé 2009-03-30 11:03:46 UTC
This is available in 0.6.1 rebase.

Usage for logging to a file is described here

http://libvirt.org/formatdomain.html#elementsCharFle

Comment 6 Nan Zhang 2009-06-04 10:29:39 UTC
Add the following section to guest domain xml.

      <serial type="file">
        <source path="/var/log/serial.log"/>
        <target port="1"/>
      </serial>

Edit guest menu.lst, append the following to kernel line to support serial port output, and reboot guest domain.

      console=ttyS0,115200n8 console=tty0

On host, cat /var/log/serial.log, boot messages was displayed.


This bug has been verified with libvirt 0.6.3-3 on rhel-5.4. Fixed.

Comment 8 errata-xmlrpc 2009-09-02 09:21:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1269.html


Note You need to log in before you can comment on or make changes to this bug.