libvirt/tests/qemuxml2argvdata/cpu-strict1.xml
Peter Krempa 36072d873e qemuxml2argvtest: Modernize 'cpu-strict' case
Use the fake Haswell processor definition and augment the list of
features to make the test pass.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-09-06 14:09:45 +02:00

49 lines
1.7 KiB
XML

<domain type='kvm'>
<name>QEMUGuest1</name>
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219100</memory>
<currentMemory unit='KiB'>219100</currentMemory>
<vcpu placement='static'>6</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='network'/>
</os>
<cpu match='strict'>
<model>Haswell</model>
<feature name='ds' policy='require'/>
<feature name='acpi' policy='optional'/>
<feature name='ht' policy='require'/>
<feature name='tm' policy='optional'/>
<feature name='ds_cpl' policy='require'/>
<feature name='vmx' policy='optional'/>
<feature name='est' policy='optional'/>
<feature name='xtpr' policy='require'/>
<feature name='3dnowext' policy='force'/>
<feature name='lahf_lm' policy='require'/>
<feature name='nx' policy='disable'/>
<feature name='cx16' policy='disable'/>
<feature name='tm2' policy='disable'/>
<feature name='pbe' policy='disable'/>
<feature name='ss' policy='disable'/>
<feature name='sse4a' policy='optional'/>
<feature name='wdt' policy='forbid'/>
<feature name='vme' policy='disable'/>
<feature name='invtsc' policy='disable'/>
<feature name='abm' policy='disable'/>
<feature name='pdpe1gb' policy='disable'/>
<feature name='rdrand' policy='disable'/>
<feature name='f16c' policy='disable'/>
<feature name='pdcm' policy='disable'/>
<feature name='smx' policy='disable'/>
<feature name='monitor' policy='disable'/>
<feature name='dtes64' policy='disable'/>
</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-x86_64</emulator>
</devices>
</domain>