Re: [libvirt] [PATCH] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for powerpc

2014-04-03 Thread hong-hua....@freescale.com
Re: [libvirt] [PATCH] Define CPUINFO_FILE_LEN and fix maxlen of > cpuinfo file for powerpc > > On 04/03/2014 12:43 AM, Olivia Yin wrote: > > This patch define CPUINFO_FILE_LEN as 2KB which is enough for most > architectures. > > > > For the 24 cores PowerPC machines, t

Re: [libvirt] [PATCH] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for powerpc

2014-04-03 Thread Eric Blake
On 04/03/2014 12:43 AM, Olivia Yin wrote: > This patch define CPUINFO_FILE_LEN as 2KB which is enough for most > architectures. > > For the 24 cores PowerPC machines, the file of /proc/cpuinfo will be larger > than 2KB. > It will fail to start libvirtd with the error message as below: > virFileR

[libvirt] [PATCH] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for powerpc

2014-04-02 Thread Olivia Yin
This patch define CPUINFO_FILE_LEN as 2KB which is enough for most architectures. For the 24 cores PowerPC machines, the file of /proc/cpuinfo will be larger than 2KB. It will fail to start libvirtd with the error message as below: virFileReadAll: Failed to read file '/proc/cpuinfo': Value too l