libvirt/tests/vircaps2xmldata/vircaps-x86_64-resctrl-cdp.xml
Martin Kletzander bc97a2c043 capabilities: Also report L2 caches
Since some systems support control for L2 caches as well as L3 caches it
would be useful to report their configuration in capabilities.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-09-13 12:55:39 +02:00

69 lines
3.3 KiB
XML

<capabilities>
<host>
<cpu>
<arch>x86_64</arch>
</cpu>
<power_management/>
<iommu support='no'/>
<migration_features>
<live/>
</migration_features>
<topology>
<cells num='2'>
<cell id='0'>
<memory unit='KiB'>1048576</memory>
<pages unit='KiB' size='4'>2048</pages>
<pages unit='KiB' size='2048'>4096</pages>
<pages unit='KiB' size='1048576'>6144</pages>
<cpus num='6'>
<cpu id='0' socket_id='0' die_id='0' cluster_id='0' core_id='0' siblings='0'/>
<cpu id='1' socket_id='0' die_id='0' cluster_id='0' core_id='1' siblings='1'/>
<cpu id='2' socket_id='0' die_id='0' cluster_id='0' core_id='2' siblings='2'/>
<cpu id='3' socket_id='0' die_id='0' cluster_id='0' core_id='3' siblings='3'/>
<cpu id='4' socket_id='0' die_id='0' cluster_id='0' core_id='4' siblings='4'/>
<cpu id='5' socket_id='0' die_id='0' cluster_id='0' core_id='5' siblings='5'/>
</cpus>
</cell>
<cell id='1'>
<memory unit='KiB'>2097152</memory>
<pages unit='KiB' size='4'>4096</pages>
<pages unit='KiB' size='2048'>6144</pages>
<pages unit='KiB' size='1048576'>8192</pages>
<cpus num='6'>
<cpu id='6' socket_id='1' die_id='0' cluster_id='0' core_id='0' siblings='6'/>
<cpu id='7' socket_id='1' die_id='0' cluster_id='0' core_id='1' siblings='7'/>
<cpu id='8' socket_id='1' die_id='0' cluster_id='0' core_id='2' siblings='8'/>
<cpu id='9' socket_id='1' die_id='0' cluster_id='0' core_id='3' siblings='9'/>
<cpu id='10' socket_id='1' die_id='0' cluster_id='0' core_id='4' siblings='10'/>
<cpu id='11' socket_id='1' die_id='0' cluster_id='0' core_id='5' siblings='11'/>
</cpus>
</cell>
</cells>
</topology>
<cache>
<bank id='0' level='2' type='both' size='256' unit='KiB' cpus='0'/>
<bank id='1' level='2' type='both' size='256' unit='KiB' cpus='1'/>
<bank id='2' level='2' type='both' size='256' unit='KiB' cpus='2'/>
<bank id='3' level='2' type='both' size='256' unit='KiB' cpus='3'/>
<bank id='4' level='2' type='both' size='256' unit='KiB' cpus='4'/>
<bank id='5' level='2' type='both' size='256' unit='KiB' cpus='5'/>
<bank id='8' level='2' type='both' size='256' unit='KiB' cpus='6'/>
<bank id='9' level='2' type='both' size='256' unit='KiB' cpus='7'/>
<bank id='10' level='2' type='both' size='256' unit='KiB' cpus='8'/>
<bank id='11' level='2' type='both' size='256' unit='KiB' cpus='9'/>
<bank id='12' level='2' type='both' size='256' unit='KiB' cpus='10'/>
<bank id='13' level='2' type='both' size='256' unit='KiB' cpus='11'/>
<bank id='0' level='3' type='both' size='15' unit='MiB' cpus='0-5'>
<control granularity='768' unit='KiB' type='code' maxAllocs='8'/>
<control granularity='768' unit='KiB' type='data' maxAllocs='8'/>
</bank>
<bank id='1' level='3' type='both' size='15' unit='MiB' cpus='6-11'>
<control granularity='768' unit='KiB' type='code' maxAllocs='8'/>
<control granularity='768' unit='KiB' type='data' maxAllocs='8'/>
</bank>
</cache>
</host>
</capabilities>