[libvirt] [PATCH] Buffer size too small when reading sysinfo on S390
Eric Blake
eblake at redhat.com
Mon Dec 15 18:02:13 UTC 2014
On 12/15/2014 06:57 AM, Jiri Denemark wrote:
> On Mon, Dec 15, 2014 at 14:16:31 +0100, Boris Fiuczynski wrote:
>> On a system with 160 CPUs the /proc/cpuinfo size grows beyond
>> the currently set limit of 10KB causing an internal error.
>>
>> This patch increases the buffer size for S390 to 64KB.
>>
>
> I don't think this needs to be S390 specific. Why can't we just increase
> CPUINFO_FILE_LEN to, e.g., 1MB?
I tend to agree; it shouldn't hurt to make the limit larger for everyone.
--
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: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141215/4aa68988/attachment-0001.sig>
More information about the libvir-list
mailing list