Re: [libvirt] [PATCH v2] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for all uses

2014-04-03 Thread Ján Tomko
On 04/04/2014 03:21 AM, Olivia Yin wrote: > For example, the file /proc/cpuinfo for 24 cores PowerPC platform is larger > than > the previous maximum size 2KB. > It will fail to start libvirtd with the error message as below: > virFileReadAll: Failed to read file '/proc/cpuinfo': Value too large f

[libvirt] [PATCH v2] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for all uses

2014-04-03 Thread Olivia Yin
For example, the file /proc/cpuinfo for 24 cores PowerPC platform is larger than the previous maximum size 2KB. It will fail to start libvirtd with the error message as below: virFileReadAll: Failed to read file '/proc/cpuinfo': Value too large for defined data type virSysinfoRead: internal error F