mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
7d9fe3a637
There are a number of cases in which we want to test both the normal behavior and the ABI_UPDATE behavior for the same input XML. The way this is currently implemented is ad-hoc, and involves symlinking the input XML as well as coming up with an alternative name for the ABI_UPDATE variant: in most cases the -abi-update suffix is added, but since this is not enforced there are a couple of cases where we do something else instead. To make things simpler and more consistent, implement the naming convention at the macro level. This way, we no longer need to create any symlinks for the input file, and the output files are automatically named correctly. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
48 lines
1.4 KiB
XML
48 lines
1.4 KiB
XML
<domain type='kvm'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>49545eb3-75e1-2d0a-acdd-f0294406c99e</uuid>
|
|
<maxMemory slots='16' unit='KiB'>4194304</maxMemory>
|
|
<memory unit='KiB'>2098177</memory>
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='ppc64' machine='pseries'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu mode='custom' match='exact' check='none'>
|
|
<model fallback='forbid'>POWER9</model>
|
|
<numa>
|
|
<cell id='0' cpus='0' memory='1049601' unit='KiB'/>
|
|
</numa>
|
|
</cpu>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<controller type='usb' index='0' model='none'/>
|
|
<controller type='pci' index='0' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='0'/>
|
|
</controller>
|
|
<audio id='1' type='none'/>
|
|
<memballoon model='none'/>
|
|
<panic model='pseries'/>
|
|
<memory model='dimm'>
|
|
<target>
|
|
<size unit='KiB'>524288</size>
|
|
<node>0</node>
|
|
</target>
|
|
<address type='dimm' slot='0'/>
|
|
</memory>
|
|
<memory model='dimm'>
|
|
<target>
|
|
<size unit='KiB'>524288</size>
|
|
<node>0</node>
|
|
</target>
|
|
<address type='dimm' slot='1'/>
|
|
</memory>
|
|
</devices>
|
|
</domain>
|