mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
fbf27730a3
Recently CPU hardware vendors have started to support a new structure inside the CPU package topology known as a "die". Thus the hierarchy is now: sockets > dies > cores > threads This adds support for "dies" in the XML parser, with the value defaulting to 1 if not specified for backwards compatibility. For example a system with 64 logical CPUs might report <topology sockets="4" dies="2" cores="4" threads="2"/> Reviewed-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
20 lines
744 B
XML
20 lines
744 B
XML
<cpu mode='custom' match='exact'>
|
|
<model fallback='forbid'>Penryn</model>
|
|
<vendor>Intel</vendor>
|
|
<topology sockets='1' dies='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>
|