From Fedora Project Wiki

(Created page with 'Actions: 1. Add console=ttyS0,115200 to guest kernel line. 2. Add the following XML section to a domain. <serial type='pty'> <source path='/dev/pts/3'/>...')
 
(Use QA template, Add test to Category:libvirt VNC Resource Tunnel Test Cases)
 
Line 1: Line 1:
Actions:
{{QA/Test_Case
|description='''FIXME'''
|actions=
# Add ''console=ttyS0,115200'' to guest kernel line.
# Add the following XML section to a domain.
#: <pre>
#: <serial type='pty'>
#:  <source path='/dev/pts/3'/>
#:  <target port='0'/>
#:  </serial>       
#:  <console type='pty'>
#:  <source path='/dev/pts/3'/>
#:  <target port='0'/>
#:  </console></pre>
# Start the domain.
# Run the command {{command|virsh console [domain id]}}.  A booting message will be displayed in the terminal.
# Log on to the guest.
|results=
# Successful connection to a guest via virtual console and serial.
}}


  1. Add console=ttyS0,115200 to guest kernel line.
[[Category:libvirt VNC Resource Tunnel Test Cases]]
 
  2. Add the following XML section to a domain.
 
      <serial type='pty'>
          <source path='/dev/pts/3'/>
          <target port='0'/>
      </serial>       
      <console type='pty'>
          <source path='/dev/pts/3'/>
          <target port='0'/>
      </console>
 
  3. Start the domain.
 
  4. Run virsh console [domain id]. A booting message will be displayed in the terminal.
 
  5. Log on to the guest.
 
Expected Results:
 
Successful connection to a guest via virtual console and serial.

Latest revision as of 18:22, 7 April 2010

Description

FIXME


How to test

  1. Add console=ttyS0,115200 to guest kernel line.
  2. Add the following XML section to a domain.
    <serial type='pty'>
    <source path='/dev/pts/3'/>
    <target port='0'/>
    </serial>
    <console type='pty'>
    <source path='/dev/pts/3'/>
    <target port='0'/>
    </console>
  3. Start the domain.
  4. Run the command virsh console [domain id]. A booting message will be displayed in the terminal.
  5. Log on to the guest.

Expected Results

  1. Successful connection to a guest via virtual console and serial.