mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-26 21:57:33 +03:00
This patch adds and fixes test cases for cpu mode attribute. Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> (crobinso: Minor rebase tweaks)
37 lines
1.0 KiB
XML
37 lines
1.0 KiB
XML
<domain type='xen'>
|
|
<name>TestGuest</name>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<memory>409600</memory>
|
|
<currentMemory>204800</currentMemory>
|
|
<vcpu cpuset='0,1,2,3,4,5,6,7' current='5'>7</vcpu>
|
|
<os>
|
|
<type arch='i686'>hvm</type>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/><apic/>
|
|
</features>
|
|
<cpu mode='custom' match='minimum'>
|
|
<model>footest</model>
|
|
<vendor>Intel</vendor>
|
|
<topology sockets='4' cores='5' threads='2'/>
|
|
<feature policy='force' name='x2apic'/>
|
|
<feature policy='forbid' name='lahf_lm'/>
|
|
</cpu>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type='block' device='cdrom'>
|
|
<target dev='hdc' bus='ide'/>
|
|
<readonly/>
|
|
</disk>
|
|
<input type='mouse' bus='ps2'/>
|
|
<graphics type='sdl' display=':3.4' xauth='/tmp/.Xauthority'/>
|
|
<console type='pty'/>
|
|
</devices>
|
|
</domain>
|