chardev-reconnect.xml 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<domain type='qemu'>
  <name>QEMUGuest1</name>
  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
  <memory unit='KiB'>219136</memory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='i686' machine='pc'>hvm</type>
    <boot dev='hd'/>
  </os>
  <devices>
    <emulator>/usr/bin/qemu-system-i686</emulator>
    <controller type='virtio-serial' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </controller>
    <redirdev bus='usb' type='tcp'>
      <source mode='connect' host='localhost' service='3456'>
        <reconnect enabled='yes' timeout='15'/>
      </source>
    </redirdev>
    <smartcard mode='passthrough' type='unix'>
21
      <source mode='connect' path='/tmp/channel/asdf'>
22 23 24 25 26 27 28 29 30 31
        <reconnect enabled='yes' timeout='20'/>
      </source>
    </smartcard>
    <channel type='tcp'>
      <source mode='connect' host='localhost' service='1234'>
        <reconnect enabled='yes' timeout='10'/>
      </source>
      <target type='virtio' name='asdf'/>
    </channel>
    <channel type='unix'>
32
      <source mode='connect' path='/tmp/channel/fdsa'>
33 34 35 36 37 38 39 40 41 42 43 44 45 46
        <reconnect enabled='no'/>
      </source>
      <target type='virtio' name='fdsa'/>
    </channel>
    <memballoon model='none'/>
    <rng model='virtio'>
      <backend model='egd' type='tcp'>
        <source mode='connect' host='localhost' service='2345'>
          <reconnect enabled='yes' timeout='5'/>
        </source>
      </backend>
    </rng>
  </devices>
</domain>