Re: [libvirt] [PATCH v3 5/5] util: Don't report CPU frequency for ARM hosts

2018-01-08 Thread Andrea Bolognani
On Fri, 2018-01-05 at 15:52 -0500, John Ferlan wrote: > Suggestion - follow cmdNodeinfo for virhostcputest.c and don't print the > MHz if it's 0. It's the indication that the data wasn't obtainable. I > think printing 0 is perhaps just as bad as printing the erroneous 100. > > I trust you can

Re: [libvirt] [PATCH v3 5/5] util: Don't report CPU frequency for ARM hosts

2018-01-05 Thread John Ferlan
On 12/14/2017 07:34 AM, Andrea Bolognani wrote: > Some ARM platforms, such as the original Raspberry Pi, report the > CPU frequency in the BogoMIPS field of /proc/cpuinfo, so libvirt > parsed that field and returned it through its API. > > However, not only many more boards don't report any

[libvirt] [PATCH v3 5/5] util: Don't report CPU frequency for ARM hosts

2017-12-14 Thread Andrea Bolognani
Some ARM platforms, such as the original Raspberry Pi, report the CPU frequency in the BogoMIPS field of /proc/cpuinfo, so libvirt parsed that field and returned it through its API. However, not only many more boards don't report any value there, but several - including ARMv8-based server