Re: [libvirt] [PATCH 5/4] nodeinfo: support kernels that lack socket information

2012-11-16 Thread Viktor Mihajlovski
On 11/15/2012 04:38 PM, Eric Blake wrote: On RHEL 5, I was getting a segfault trying to start libvirtd, because we were failing virNodeParseSocket but not checking for errors, and then calling CPU_SET(-1, &sock_map) as a result. But if you don't have a topology/physical_package_id file, then you

[libvirt] [PATCH 5/4] nodeinfo: support kernels that lack socket information

2012-11-15 Thread Eric Blake
On RHEL 5, I was getting a segfault trying to start libvirtd, because we were failing virNodeParseSocket but not checking for errors, and then calling CPU_SET(-1, &sock_map) as a result. But if you don't have a topology/physical_package_id file, then you can just assume that the cpu belongs to sock