libvirt/tests/qemuxml2argvdata/cpu-translation.xml
Jiri Denemark 24aa210d90 qemuxml2argvtest: Add test for CPU features translation
This should cover all CPU features for which QEMU prefers spelling that
differs from the one used by libvirt.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-06-20 00:22:38 +02:00

35 lines
1.1 KiB
XML

<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>c7a5fdbd-fade-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219100</memory>
<currentMemory unit='KiB'>219100</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='network'/>
</os>
<features>
<apic eoi='on'/>
<pvspinlock state='on'/>
</features>
<cpu mode='custom'>
<model fallback='forbid'>Haswell</model>
<feature name='pclmuldq' policy='require'/>
<feature name='ds_cpl' policy='require'/>
<feature name='tsc_adjust' policy='require'/>
<feature name='fxsr_opt' policy='require'/>
<feature name='lahf_lm' policy='require'/>
<feature name='cmp_legacy' policy='require'/>
<feature name='nodeid_msr' policy='require'/>
<feature name='perfctr_core' policy='require'/>
<feature name='perfctr_nb' policy='require'/>
</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>