]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Report CPU clusters in capabilities XML
authorAndrea Bolognani <abologna@redhat.com>
Fri, 5 Jan 2024 15:03:54 +0000 (16:03 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 15 Jan 2024 13:56:35 +0000 (14:56 +0100)
commit5fc56aefb67a085a2f0fd3d2a157c7c029d2ef60
tree661ab33dee832d8a287b956686919539cfd331dd
parentfb81a56f321019685be80b14e3be3046e46412ad
conf: Report CPU clusters in capabilities XML

For machines that don't expose useful information through sysfs,
the dummy ID 0 is used.

https://issues.redhat.com/browse/RHEL-7043

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
19 files changed:
src/conf/capabilities.c
src/conf/capabilities.h
src/conf/schemas/capability.rng
src/libvirt_linux.syms
src/util/virhostcpu.c
src/util/virhostcpu.h
tests/capabilityschemadata/caps-qemu-kvm.xml
tests/vircaps2xmldata/vircaps-aarch64-basic-clusters.xml
tests/vircaps2xmldata/vircaps-aarch64-basic.xml
tests/vircaps2xmldata/vircaps-x86_64-basic-dies.xml
tests/vircaps2xmldata/vircaps-x86_64-basic.xml
tests/vircaps2xmldata/vircaps-x86_64-caches.xml
tests/vircaps2xmldata/vircaps-x86_64-hmat.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl-cdp.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl-cmt.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl-fake-feature.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl-skx-twocaches.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl-skx.xml
tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml