[libvirt] [PATCH] Cope with missing /sys/devices/system/cpu/cpu0/topology files

Eric Blake eblake at redhat.com
Wed Apr 3 20:45:49 UTC 2013


On 04/03/2013 01:31 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 at redhat.com>
> ---
>  src/nodeinfo.c | 6 ++++++
>  1 file changed, 6 insertions(+)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130403/12aabe51/attachment-0001.sig>


More information about the libvir-list mailing list