libvirt/tests
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
..
bhyveargv2xmldata
bhyvexml2argvdata bhyve: Add support for VNC autoport 2017-08-06 09:24:26 +04:00
bhyvexml2xmloutdata bhyve: Add support for VNC autoport 2017-08-06 09:24:26 +04:00
capabilityschemadata tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
commanddata tests: fix typo 2017-11-20 13:22:48 +01:00
cputestdata cputest: Add data for Intel(R) Core(TM) i7-7700 CPU 2017-11-07 23:40:47 +01:00
domaincapsschemadata tests: Rename ppc64le caps to ppc64 2017-11-08 10:47:38 +01:00
domainconfdata
domainschemadata tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
domainsnapshotxml2xmlin storage: Store RBD image name as pool and image name 2017-11-07 14:58:04 +01:00
domainsnapshotxml2xmlout storage: Store RBD image name as pool and image name 2017-11-07 14:58:04 +01:00
fchostdata/fc_host
genericxml2xmlindata test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
genericxml2xmloutdata test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
interfaceschemadata
libxlxml2domconfigdata tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
lxcconf2xmldata
lxcxml2xmldata lxc: add possibility to define init uid/gid 2017-07-11 10:41:24 +02:00
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata nodedev: add switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
nssdata
nwfilterxml2firewalldata nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlin nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlout
qemuagentdata test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmldata test: Drop useless prefix for qemuargv2xml test data 2017-12-05 14:52:49 +01:00
qemucapabilitiesdata qemu: Add capability for pseries machine's max-cpu-compat= parameter 2018-01-05 17:00:58 +01:00
qemucaps2xmldata
qemuhelpdata
qemuhotplugtestcpus virQEMUCapsHasPCIMultiBus: use def->os.arch 2017-11-30 16:49:05 +01:00
qemuhotplugtestdevices qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplugtestdomains tests: Drop IDE controller in CCW 2017-12-06 19:50:21 -05:00
qemumemlockdata tests: Update qemumemlock data 2017-07-15 14:50:42 +02:00
qemumonitorjsondata tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
qemuxml2argvdata qemu: Add support for pseries machine's max-cpu-compat= parameter 2018-01-05 17:12:14 +01:00
qemuxml2xmloutdata conf: Use existing SCSI hostdev model to create new 2018-01-04 10:30:43 -05:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata Terminate backing chains explicitly 2017-10-17 06:19:18 +02:00
storagepoolschemadata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata build: Fix make dist 2017-11-22 11:27:40 +01:00
vircgroupdata Avoid hidden cgroup mount points 2017-07-13 09:37:52 +02:00
virconfdata Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virfilecachedata tests: add virfilecachetest 2017-07-26 15:33:45 +02:00
virfiledata
virhostcpudata util: Don't report CPU frequency for ARM hosts 2018-01-08 14:22:53 +01:00
virjsondata tests: Validate that JSON deflattening fixed nested json pseudo-protocol strings 2017-07-11 14:24:17 +02:00
virmacmaptestdata tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
virnetdaemondata tests: virnetdaemontest: Enable testing for 'auth_pending' 2018-01-04 06:55:31 -05:00
virnetdevtestdata/sys/class/net
virpcitestdata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xencapsdata
xlconfigdata tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
xmconfigdata
xml2sexprdata Remove non-existant 'wiremode' attribute 2017-11-30 10:20:45 +00:00
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c virmacaddr: Track if MAC address is autogenerated 2017-10-04 17:10:12 +02:00
bhyveargv2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
bhyvexml2argvmock.c virmacaddr: Track if MAC address is autogenerated 2017-10-04 17:10:12 +02:00
bhyvexml2argvtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
bhyvexml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
check-file-access.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
commandhelper.c Fix commandhelper build on win32 2017-09-21 08:55:07 +01:00
commandtest.c tests: fix typo 2017-11-20 13:22:48 +01:00
cputest.c cputest: Add data for Intel(R) Core(TM) i7-7700 CPU 2017-11-07 23:40:47 +01:00
domaincapsmock.c
domaincapstest.c fillQemuCaps: Don't leak machine string 2017-12-12 16:41:25 +01:00
domainconftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domainsnapshotxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
esxutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
eventtest.c lib: Fix c99 style comments 2017-04-27 14:13:19 +02:00
fchosttest.c
fdstreamtest.c fdstreamtest: Print more info on read failure 2017-04-28 14:17:10 +02:00
file_access_whitelist.txt
genericxml2xmltest.c test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
interfacexml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libvirtd-fail
libvirtd-pool
libxlxml2domconfigtest.c tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
lxcconf2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
lxcxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
Makefile.am tests: Remove pointless _CFLAGS variables 2017-11-18 10:45:10 +01:00
metadatatest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2conftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmlupdatetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nodedevxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nsslinktest.c
nssmock.c
nsstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterebiptablestest.c Prevent test failures with ebtables/iptables/ip6tables are missing 2017-04-19 10:51:51 +01:00
nwfilterxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
objecteventtest.c storage: Add new events for *PoolBuild() and *PoolDelete(). 2017-09-20 11:52:56 +02:00
objectlocking.ml
oomtrace.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
openvzutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmltest.c test: Drop useless prefix for qemuargv2xml test data 2017-12-05 14:52:49 +01:00
qemublocktest.c conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01:00
qemucapabilitiestest.c qemu: capabilities: force update if the microcode version does not match 2018-01-04 16:52:03 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucapsprobe.c qemu: capabilities: force update if the microcode version does not match 2018-01-04 16:52:03 +01:00
qemucapsprobemock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucommandutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucpumock.c qemu: pass only host arch instead of the whole virCaps 2017-07-26 15:35:24 +02:00
qemuhelptest.c qemu: Add QEMU_CAPS_DEVICE_ISA_SERIAL 2017-11-28 15:51:33 +01:00
qemuhotplugtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemumemlocktest.c testCompareMemLock: Use correct free function for domain def 2017-08-10 11:22:06 +02:00
qemumonitorjsontest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemumonitortest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c
qemuxml2argvtest.c qemu: Add support for pseries machine's max-cpu-compat= parameter 2018-01-05 17:12:14 +01:00
qemuxml2xmltest.c test: Drop useless prefix for qemuxml2xmldata test data 2017-12-05 14:52:49 +01:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxhelper.c
securityselinuxlabeltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sexpr2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
shunloadhelper.c
shunloadtest.c
sockettest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
ssh.c
storagebackendsheepdogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagepoolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagevolxml2argvtest.c storage: Convert virStoragePoolObj into virObjectLockable 2017-11-24 08:08:36 -05:00
storagevolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sysinfotest.c
test-lib.sh
test-wrap-argv.pl test-wrap-argv.pl: Accept short parameter -i for --in-place 2017-05-15 12:34:19 +02:00
testutils.c Only output initialized capabilities with VIR_TEST_DEBUG > 1 2017-11-18 10:45:10 +01:00
testutils.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
testutilshostcpus.h tests: rewrite host CPU mocking 2017-07-26 15:35:02 +02:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: capabilities: force update if the microcode version does not match 2018-01-04 16:52:03 +01:00
testutilsqemu.h qemu: switch QEMU capabilities to use virFileCache 2017-07-26 15:36:21 +02:00
testutilsxen.c tests: rewrite host CPU mocking 2017-07-26 15:35:02 +02:00
testutilsxen.h
utiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vboxsnapshotxmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
viralloctest.c
viratomictest.c
virauthconfigtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virbitmaptest.c util: Reintroduce virBitmapSubtract 2017-11-18 10:45:10 +01:00
virbuftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircaps2xmltest.c build: Fix make dist 2017-11-22 11:27:40 +01:00
vircapstest.c vircapstest: Avoid (im)possible strcmp call with NULL argument 2017-11-14 14:45:19 +01:00
vircgroupmock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircgrouptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virconftest.c virconf: properly set the end of content 2017-11-09 08:04:26 -07:00
vircryptotest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdbusmock.c
virdbustest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdeterministichashmock.c tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
virdrivermoduletest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virendiantest.c
virfilecachemock.c tests: add virfilecachetest 2017-07-26 15:33:45 +02:00
virfilecachetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfiletest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.h tests: Add virfilewrapper -- the new super "mock" 2017-05-09 13:12:40 +02:00
virfirewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virhashdata.h
virhashtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virhostcpumock.c lib: Fix c99 style comments 2017-04-27 14:13:19 +02:00
virhostcputest.c tests: Add host CPU data for Moonshot (RHEL 7.4) 2018-01-08 13:48:39 +01:00
virhostdevtest.c qemu: Remove private hostdev 2017-11-24 11:47:26 -05:00
viridentitytest.c
viriscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virjsontest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virkeycodetest.c Update to latest keycodemapdb content 2017-12-12 16:34:12 +00:00
virkeyfiletest.c
virkmodtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virlockspacetest.c
virlogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmacmaptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmock.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmocklibxl.c libxlxml2domconfigtest: add test for vNUMA config 2017-11-12 19:39:57 -07:00
virnetdaemonmock.c
virnetdaemontest.c tests: virnetdaemontest: Enable testing for 'auth_pending' 2018-01-04 06:55:31 -05:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetdevmock.c
virnetdevtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c tests: virnetserverclienttest: Fix memory leak @client 2018-01-04 06:55:31 -05:00
virnetsockettest.c tests: Fix virnetsockettest after SSH command line changes 2017-08-30 10:50:17 +02:00
virnettlscontexttest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnettlshelpers.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnettlshelpers.h
virnettlssessiontest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnumamock.c util: Remove virsysfs and instead enhance virFileReadValue* functions 2017-05-09 13:12:40 +02:00
virpcimock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virpcitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c
virrandommock.c
virrotatingfiletest.c
virschematest.c Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00
virscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsh-cpuset
virsh-define-dev-segfault tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
virsh-int-overflow
virsh-optparse test: virsh-optparse: Fix expected test output with new error checking 2017-04-13 10:14:42 +02:00
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virstoragetest.c conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01:00
virstorageutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virstringtest.c virstringtest: Fix alignment of backslashes 2018-01-04 09:29:49 +01:00
virsystemdtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virt-aa-helper-test Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virt-admin-self-test
virtestmock.c
virtimetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virtypedparamtest.c
viruritest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virusbmock.c tests: Fix build with clang 2017-10-05 09:09:50 +02:00
virusbtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmwarevertest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmx2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xencapstest.c
xlconfigtest.c tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
xmconfigtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xml2sexprtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xml2vmxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00