]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNodeGetInfo: Improve description of the case when fake data is reported
authorPeter Krempa <pkrempa@redhat.com>
Mon, 7 Apr 2025 12:33:01 +0000 (14:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Apr 2025 16:03:29 +0000 (18:03 +0200)
commit6654cf472c7a8c3e0294012b7c249fc427207759
tree77110d788a20f7072142fe8831676536f080e232
parente54cc1500ccfb36cd5b67eb4d886c491fdda5b2b
virNodeGetInfo: Improve description of the case when fake data is reported

virNodeGetInfo due to the rigid desing of the filled struct can't
faithfully represent all topologies. Improve the description when that
happens and outline the fallback topology.

The function docs already state that users ought to use
virConnectGetCapabilities() instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-host.c