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: | ||
{{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}} | |||
}} | |||
[[Category:libvirt VNC Resource Tunnel Test Cases]] | |||
Latest revision as of 18:19, 7 April 2010
Description
FIXME
How to test
- Add console=ttyS0,115200 to guest kernel line.
- Add the following XML to a domain.
- <serial type="file">
- <source path="/var/log/vm-serial.log"/>
- <target port="1"/>
- </serial>
- Start the domain.
- Display the contents of the file
/var/log/vm-serial.log
. For example, run the command: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