]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Cope with missing /sys/devices/system/cpu/cpu0/topology files
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 3 Apr 2013 19:28:35 +0000 (20:28 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Apr 2013 10:07:32 +0000 (11:07 +0100)
commit4a2891510bb94360ca3d7e74adc26677310d9627
treea0f158dd32a21e51ca12452aa0230e3a10ee7210
parent9c29c52c5a8e5d6999c11deee1946ec90de59d84
Cope with missing /sys/devices/system/cpu/cpu0/topology files

Not all kernel builds have any entries under the location
/sys/devices/system/cpu/cpu0/topology. We already cope with
that being missing in some cases, but not all. Update the
code which looks for thread_siblings to cope with the missing
file

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/nodeinfo.c