mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
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>
18 lines
686 B
XML
18 lines
686 B
XML
<cpu mode='custom' match='exact'>
|
|
<model fallback='allow'>Penryn</model>
|
|
<topology sockets='2' dies='1' cores='4' threads='1'/>
|
|
<feature policy='require' name='dca'/>
|
|
<feature policy='require' name='xtpr'/>
|
|
<feature policy='disable' name='sse4.2'/>
|
|
<feature policy='disable' name='3dnow'/>
|
|
<feature policy='require' name='ssse3'/>
|
|
<feature policy='disable' name='vmx'/>
|
|
<feature policy='disable' name='ds_cpl'/>
|
|
<feature policy='disable' name='sse'/>
|
|
<feature policy='force' name='monitor'/>
|
|
<feature policy='force' name='pbe'/>
|
|
<feature policy='force' name='3dnowext'/>
|
|
<feature policy='force' name='svm'/>
|
|
<feature policy='forbid' name='popcnt'/>
|
|
</cpu>
|