libvirt/tests/qemuxml2argvdata/chardev-reconnect.xml
Andrea Bolognani 0b464cd84f tests: Drop more QEMU driver config overrides
These are allegedly necessary to keep the output consistent,
but now that we're using a privileged config for the driver we
get the desired behavior out of the box, and as a bonus the
paths match what you would actually see on a regular host.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2023-03-06 14:44:13 +01: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-i386</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='/var/lib/libvirt/qemu/channel/target/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='/var/lib/libvirt/qemu/channel/target/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>