mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 10:23:09 +00:00
7b79ee2f78
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> |
||
---|---|---|
.. | ||
backup_conf.c | ||
backup_conf.h | ||
capabilities.c | ||
capabilities.h | ||
checkpoint_conf.c | ||
checkpoint_conf.h | ||
cpu_conf.c | ||
cpu_conf.h | ||
device_conf.c | ||
device_conf.h | ||
domain_addr.c | ||
domain_addr.h | ||
domain_audit.c | ||
domain_audit.h | ||
domain_capabilities.c | ||
domain_capabilities.h | ||
domain_conf.c | ||
domain_conf.h | ||
domain_event.c | ||
domain_event.h | ||
domain_nwfilter.c | ||
domain_nwfilter.h | ||
interface_conf.c | ||
interface_conf.h | ||
Makefile.inc.am | ||
moment_conf.c | ||
moment_conf.h | ||
netdev_bandwidth_conf.c | ||
netdev_bandwidth_conf.h | ||
netdev_vlan_conf.c | ||
netdev_vlan_conf.h | ||
netdev_vport_profile_conf.c | ||
netdev_vport_profile_conf.h | ||
network_conf.c | ||
network_conf.h | ||
network_event.c | ||
network_event.h | ||
networkcommon_conf.c | ||
networkcommon_conf.h | ||
node_device_conf.c | ||
node_device_conf.h | ||
node_device_event.c | ||
node_device_event.h | ||
node_device_util.c | ||
node_device_util.h | ||
numa_conf.c | ||
numa_conf.h | ||
nwfilter_conf.c | ||
nwfilter_conf.h | ||
nwfilter_ipaddrmap.c | ||
nwfilter_ipaddrmap.h | ||
nwfilter_params.c | ||
nwfilter_params.h | ||
object_event_private.h | ||
object_event.c | ||
object_event.h | ||
secret_conf.c | ||
secret_conf.h | ||
secret_event.c | ||
secret_event.h | ||
snapshot_conf_priv.h | ||
snapshot_conf.c | ||
snapshot_conf.h | ||
storage_adapter_conf.c | ||
storage_adapter_conf.h | ||
storage_capabilities.c | ||
storage_capabilities.h | ||
storage_conf.c | ||
storage_conf.h | ||
storage_event.c | ||
storage_event.h | ||
virchrdev.c | ||
virchrdev.h | ||
virconftypes.h | ||
virdomaincheckpointobjlist.c | ||
virdomaincheckpointobjlist.h | ||
virdomainmomentobjlist.c | ||
virdomainmomentobjlist.h | ||
virdomainobjlist.c | ||
virdomainobjlist.h | ||
virdomainsnapshotobjlist.c | ||
virdomainsnapshotobjlist.h | ||
virinterfaceobj.c | ||
virinterfaceobj.h | ||
virnetworkobj.c | ||
virnetworkobj.h | ||
virnetworkportdef.c | ||
virnetworkportdef.h | ||
virnodedeviceobj.c | ||
virnodedeviceobj.h | ||
virnwfilterbindingdef.c | ||
virnwfilterbindingdef.h | ||
virnwfilterbindingobj.c | ||
virnwfilterbindingobj.h | ||
virnwfilterbindingobjlist.c | ||
virnwfilterbindingobjlist.h | ||
virnwfilterobj.c | ||
virnwfilterobj.h | ||
virsavecookie.c | ||
virsavecookie.h | ||
virsecretobj.c | ||
virsecretobj.h | ||
virstorageobj.c | ||
virstorageobj.h |