diff options
| author | Helge Deller <deller@gmx.de> | 2023-01-27 21:10:49 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2023-02-03 22:55:12 +0100 |
| commit | e0174afeea23e56765db56fbbe465ed1fcbdd07a (patch) | |
| tree | df073109c5e14fb8695228407ce25e3886c57a85 /scripts/qapi/parser.py | |
| parent | cb88b7c214511736fa3bc1d9e57b23efcc61d8ab (diff) | |
| download | focaccia-qemu-e0174afeea23e56765db56fbbe465ed1fcbdd07a.tar.gz focaccia-qemu-e0174afeea23e56765db56fbbe465ed1fcbdd07a.zip | |
linux-user: Fix /proc/cpuinfo output for hppa
The hppa architectures provides an own output for the emulated /proc/cpuinfo file. Some userspace applications count (even if that's not the recommended way) the number of lines which start with "processor:" and assume that this number then reflects the number of online CPUs. Since those 3 architectures don't provide any such line, applications may assume "0" CPUs. One such issue can be seen in debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024653 Avoid such issues by adding a "processor:" line for each of the online CPUs. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <Y9QvyRSq1I1k5/JW@p100> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions