libvirt/docs/schemas
Daniel P. Berrangé 7b79ee2f78 hostcpu: add support for reporting die_id in NUMA topology
Update the host CPU code to report the die_id in the NUMA topology
capabilities. On systems with multiple dies, this fixes the bug
where CPU cores can't be distinguished:

 <cpus num='12'>
   <cpu id='0' socket_id='0' core_id='0' siblings='0'/>
   <cpu id='1' socket_id='0' core_id='1' siblings='1'/>
   <cpu id='2' socket_id='0' core_id='0' siblings='2'/>
   <cpu id='3' socket_id='0' core_id='1' siblings='3'/>
 </cpus>

Notice how core_id is repeated within the scope of the same socket_id.

It now reports

 <cpus num='12'>
   <cpu id='0' socket_id='0' die_id='0' core_id='0' siblings='0'/>
   <cpu id='1' socket_id='0' die_id='0' core_id='1' siblings='1'/>
   <cpu id='2' socket_id='0' die_id='1' core_id='0' siblings='2'/>
   <cpu id='3' socket_id='0' die_id='1' core_id='1' siblings='3'/>
 </cpus>

So core_id is now unique within a (socket_id, die_id) pair.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-01-16 15:11:55 +00:00
..
basictypes.rng virpci: Allow greater PCI domain value in virPCIDeviceAddressIsValid 2019-08-05 19:42:15 +02:00
capability.rng hostcpu: add support for reporting die_id in NUMA topology 2020-01-16 15:11:55 +00:00
cputypes.rng conf: add support for specifying CPU "dies" parameter 2020-01-16 15:11:42 +00:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domainbackup.rng schemas: backup: Remove pointless <choice> for 'name' of backup disk 2020-01-06 10:15:36 +01:00
domaincaps.rng conf: domaincaps: Add 'backup' feature flag 2019-12-10 12:41:58 +01:00
domaincheckpoint.rng backup: Document new XML for checkpoints 2019-07-26 16:48:58 -05:00
domaincommon.rng schema: Allow iSCSI source to have interleaved children 2020-01-09 09:12:01 +01:00
domainsnapshot.rng docs: schemas: Add 'seclabel' for external disk snapshot 2019-06-20 17:08:53 +02:00
interface.rng schema: remove reference to brctl 2018-06-07 16:30:59 +02:00
network.rng network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkcommon.rng conf: introduce virNetworkPortDefPtr struct and XML support 2019-06-17 15:19:54 +01:00
networkport.rng conf: introduce virNetworkPortDefPtr struct and XML support 2019-06-17 15:19:54 +01:00
nodedev.rng xml: nodedev: make pci capability class element optional 2019-03-22 12:59:56 +03:00
nwfilter_params.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
nwfilter.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
nwfilterbinding.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
secret.rng secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
storagecommon.rng storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
storagepool.rng storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolcaps.rng docs: Add schema for storage pool capabilities 2019-03-06 11:12:48 -05:00
storagevol.rng storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00