From Fedora Project Wiki



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"/>
  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