From Fedora Project Wiki

(Created page with 'Actions: 1. Add console=ttyS0,115200 to guest kernel line. 2. Add the following XML to a domain. <serial type="file"> <source path="/var/log/vm-serial.log"/> <target port...')
 
(Use QA Test Case Template, move into category)
 
Line 1: Line 1:
Actions:
{{QA/Test_Case
|description= '''FIXME'''
|actions=
# Add console=ttyS0,115200 to guest kernel line.
# Add the following XML to a domain.
#: <pre>
#: <serial type="file">
#:    <source path="/var/log/vm-serial.log"/>
#:    <target port="1"/>
#: </serial></pre>
# Start the domain.
# Display the contents of the file {{filename|/var/log/vm-serial.log}}.  For example, run the command: {{command|cat /var/log/vm-serial.log}}
|results=
# All data sent to the character device is written to the file {{filename|/var/log/vm-serial.log}}
}}


1. Add console=ttyS0,115200 to guest kernel line.
[[Category:libvirt VNC Resource Tunnel Test Cases]]
 
2. Add the following XML to a domain.
<serial type="file">
  <source path="/var/log/vm-serial.log"/>
  <target port="1"/>
</serial>
 
3. Start the domain.
 
4. # cat /var/log/vm-serial.log
 
Expected Results:
 
All data sent to the character device is written to the file /var/log/vm-serial.log

Latest revision as of 18:19, 7 April 2010

Description

FIXME


How to test

  1. Add console=ttyS0,115200 to guest kernel line.
  2. Add the following XML to a domain.
    <serial type="file">
    <source path="/var/log/vm-serial.log"/>
    <target port="1"/>
    </serial>
  3. Start the domain.
  4. Display the contents of the file /var/log/vm-serial.log. For example, run the command: cat /var/log/vm-serial.log

Expected Results

  1. All data sent to the character device is written to the file /var/log/vm-serial.log