mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
2e02f2b2df
These XMLs live in a separate directory, there's no need for them to have a special prefix in addition. It also doesn't play nicely with ':e' completion in Vim, finding proper file based on qemuxml2argvtest.c is also needlessly complicated. The files were renamed using the following commands. From qemuxml2argvdata: for i in qemuxml2argv-*.xml; do mv $i ${i#qemuxml2argv-}; done and then (to fix broken symlinks) from qemuxml2argvdata and qemuxml2xmloutdata: for i in $(find . -xtype l); do \ ln -sf $(readlink $i | sed 's/qemuxml2argv-//') $i; done Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
47 lines
1.5 KiB
XML
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>
|