Product SiteDocumentation Site

E.2.2.  Adding a virtio log channel with virsh edit

A log channel can be added to an existing virtual machine, such as one created using virt-manager, using the following process:

Procedure E.1.  Adding a log channel with virsh

  1. Identify the virtual machine name:
                virsh list --all
    
  2. Open the guest configuration for editing:
                virsh edit new-fedora-guest
    
  3. Add the following information to the <devices> section:
    
    <channel type='tcp'>
      <source mode='connect' host='127.0.0.1' service='6080'/>
      <target type='virtio' name='org.fedoraproject.anaconda.log.0'/>
    </channel>