libvirt/tests/virhostcpudata
Andrea Bolognani a63ea8141b util: Don't report CPU frequency for ARM hosts
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 hardware, and even the
more recent Raspberry Pi 3 - use this field as originally intended:
to report the BogoMIPS value instead of the CPU frequency.

Since we have no way of detecting how the field is being used,
it's better to report no information at all rather than something
ludicrous like "your shiny 96-core aarch64 virtualization host's
CPUs are running at a whopping 100 MHz".

Partially-resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1206353

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-01-08 14:22:53 +01:00
..
linux-caches1/cpu tests: Add linux-caches sysfs entries for vircaps2xmltest 2017-03-27 13:13:29 +02:00
linux-deconf-cpus
linux-f21-mustang/cpu
linux-raspberrypi/cpu
linux-rhel74-moonshot tests: Add host CPU data for Moonshot (RHEL 7.4) 2018-01-08 13:48:39 +01:00
linux-rhelsa-3.19.0-mustang/cpu
linux-subcores1
linux-subcores2
linux-subcores3
linux-test1 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test2 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test3 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test4 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test5/cpu tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test6 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test7 tests: Add cpu/{online,present} files for old tests 2017-03-27 13:13:29 +02:00
linux-test8
linux-aarch64-f21-mustang.cpuinfo
linux-aarch64-f21-mustang.expected
linux-aarch64-rhel74-moonshot.cpuinfo tests: Add host CPU data for Moonshot (RHEL 7.4) 2018-01-08 13:48:39 +01:00
linux-aarch64-rhel74-moonshot.expected util: Don't report CPU frequency for ARM hosts 2018-01-08 14:22:53 +01:00
linux-aarch64-rhelsa-3.19.0-mustang.cpuinfo
linux-aarch64-rhelsa-3.19.0-mustang.expected
linux-armv6l-raspberrypi.cpuinfo
linux-armv6l-raspberrypi.expected util: Don't report CPU frequency for ARM hosts 2018-01-08 14:22:53 +01:00
linux-cpustat-24cpu.out
linux-cpustat-24cpu.stat
linux-ppc64-deconf-cpus.cpuinfo
linux-ppc64-deconf-cpus.expected
linux-ppc64-subcores1.cpuinfo
linux-ppc64-subcores1.expected
linux-ppc64-subcores2.cpuinfo
linux-ppc64-subcores2.expected
linux-ppc64-subcores3.cpuinfo
linux-ppc64-subcores3.expected
linux-ppc-test1.cpuinfo
linux-ppc-test1.expected
linux-x86_64-test1.cpuinfo util: Improve CPU frequency parsing 2018-01-08 13:48:44 +01:00
linux-x86_64-test1.expected
linux-x86_64-test2.cpuinfo
linux-x86_64-test2.expected
linux-x86_64-test3.cpuinfo
linux-x86_64-test3.expected
linux-x86_64-test4.cpuinfo
linux-x86_64-test4.expected
linux-x86_64-test5.cpuinfo
linux-x86_64-test5.expected
linux-x86_64-test6.cpuinfo
linux-x86_64-test6.expected
linux-x86_64-test7.cpuinfo
linux-x86_64-test7.expected
linux-x86_64-test8.cpuinfo
linux-x86_64-test8.expected