1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-28 11:21:44 +03:00
libvirt/tests/qemuxml2argvdata/qemuxml2argv-chardev-reconnect.xml
Pavel Hrdina 8646b1253c tests: don't use unix socket path that matches auto-generated path
The test was introduced by 60135b22db.

The auto-generated path is removed by post-parse callback which
also changes the mode from "connect" to "bind" since the auto-generated
path makes sense only for "bind" mode.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-08-30 13:34:35 +02:00

47 lines
1.5 KiB
XML

<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'>
<source mode='connect' path='/tmp/channel/asdf'>
<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'>
<source mode='connect' path='/tmp/channel/fdsa'>
<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>