mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
277bc0dcb8
VIR_DOMAIN_XML_UPDATE_CPU flag for virDomainGetXMLDesc may be used to get updated custom mode guest CPU definition in case it depends on host CPU. This patch implements the same behavior for host-model and host-passthrough CPU modes.
20 lines
739 B
XML
20 lines
739 B
XML
<cpu mode='host-model' match='exact'>
|
|
<model fallback='forbid'>Penryn</model>
|
|
<vendor>Intel</vendor>
|
|
<topology sockets='1' cores='2' threads='1'/>
|
|
<feature policy='require' name='dca'/>
|
|
<feature policy='require' name='xtpr'/>
|
|
<feature policy='require' name='tm2'/>
|
|
<feature policy='require' name='est'/>
|
|
<feature policy='require' name='vmx'/>
|
|
<feature policy='require' name='ds_cpl'/>
|
|
<feature policy='require' name='monitor'/>
|
|
<feature policy='require' name='pbe'/>
|
|
<feature policy='require' name='tm'/>
|
|
<feature policy='require' name='ht'/>
|
|
<feature policy='require' name='ss'/>
|
|
<feature policy='require' name='acpi'/>
|
|
<feature policy='require' name='ds'/>
|
|
<feature policy='require' name='vme'/>
|
|
</cpu>
|