mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
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>
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>2754dd7b-ac8a-4850-aec0-1f3fcd43235b</uuid>
|
|
<memory unit='KiB'>524288</memory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='ppc64' machine='pseries'>hvm</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<console type='pty'>
|
|
<address type="spapr-vio"/>
|
|
</console>
|
|
|
|
<!-- Two serials, first is the console -->
|
|
<serial type="pty">
|
|
<address type="spapr-vio"/>
|
|
</serial>
|
|
<serial type="pty">
|
|
<address type="spapr-vio" reg="0x4000"/>
|
|
</serial>
|
|
|
|
<!-- One disk -->
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="raw"/>
|
|
<source file="/tmp/scsidisk.img"/>
|
|
<target dev="sda" bus="scsi"/>
|
|
<address type="drive" controller="1"/>
|
|
</disk>
|
|
|
|
<!-- Two SCSI controllers -->
|
|
<controller type="scsi" index="1">
|
|
<address type="spapr-vio"/>
|
|
</controller>
|
|
<controller type="scsi" index="0">
|
|
<address type="spapr-vio" reg="0x4000"/>
|
|
</controller>
|
|
|
|
<memballoon model="none"/>
|
|
</devices>
|
|
</domain>
|