libvirt/tests
Cole Robinson 445a09bdc9 qemu: Don't compare CPU against host for TCG
Right now when building the qemu command line, we try to do various
unconditional validations of the guest CPU against the host CPU. However
this checks are overly applied. The only time we should use the checks
are:

- The user requests host-model/host-passthrough, or

- When KVM is requsted. CPU features requested in TCG mode are always
  emulated by qemu and are independent of the host CPU, so no host CPU
  checks should be performed.

Right now if trying to specify a CPU for arm on an x86 host, it attempts
to do non-sensical validation and falls over.

Switch all the test cases that were intending to test CPU validation to
use KVM, so they continue to test the intended code.

Amend some aarch64 XML tests with a CPU model, to ensure things work
correctly.
2014-10-03 11:30:29 -04:00
..
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata command: test umask support 2014-09-03 09:36:13 -06:00
confdata
cputestdata Don't include non-migratable features in host-model 2014-09-05 12:45:19 +02:00
domaincapsschemadata domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domainconfdata
domainschemadata qemu: Automatically create NVRAM store 2014-09-10 09:38:07 +02:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
interfaceschemadata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin conf: net: Correctly switch how to format address fields 2014-08-21 15:55:07 +02:00
networkxml2xmlout conf: net: Correctly switch how to format address fields 2014-08-21 15:55:07 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata
nodeinfodata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemucapabilitiesdata qemu: Add RDMA migration capabilities 2014-09-23 08:11:49 +02:00
qemucaps2xmldata
qemuhelpdata
qemuhotplugtestdata tests: Add test cases for previous commit 2014-09-05 08:35:34 +02:00
qemumonitorjsondata
qemuxml2argvdata qemu: Don't compare CPU against host for TCG 2014-10-03 11:30:29 -04:00
qemuxml2xmloutdata qemu: Don't compare CPU against host for TCG 2014-10-03 11:30:29 -04:00
qemuxmlnsdata
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata conf: Extend <loader/> and introduce <nvram/> 2014-09-10 09:38:07 +02:00
storagepoolschemadata
storagepoolxml2xmlin storage: zfs: implement pool build and delete 2014-09-18 18:08:29 +04:00
storagepoolxml2xmlout storage: zfs: implement pool build and delete 2014-09-18 18:08:29 +04:00
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
virfiledata
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xencapsdata
xmconfigdata conf: Extend <loader/> and introduce <nvram/> 2014-09-10 09:38:07 +02:00
xml2sexprdata
xml2vmxdata
.valgrind.supp
bhyvexml2argvmock.c bhyve: tests: fix build 2014-09-18 13:37:12 +04:00
bhyvexml2argvtest.c bhyve: add volumes support 2014-08-19 20:50:22 +04:00
bhyvexml2xmltest.c
capabilityschematest
commandhelper.c tests: Resolve Coverity RESOURCE_LEAK in commandhelper 2014-09-03 15:00:18 -04:00
commandtest.c command: test umask support 2014-09-03 09:36:13 -06:00
cpuset
cputest.c Don't include non-migratable features in host-model 2014-09-05 12:45:19 +02:00
define-dev-segfault
domaincapsschematest
domaincapstest.c Fix build in qemu_capabilities 2014-09-18 13:37:12 +04:00
domainconftest.c
domainschematest
domainsnapshotschematest
domainsnapshotxml2xmltest.c
esxutilstest.c
eventtest.c
fchosttest.c
fdstreamtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
jsontest.c
libvirtd-fail
libvirtd-pool
libvirtdconftest.c cleanup spaces between parentheses and braces 2014-08-20 14:50:21 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am Convert polkit code to use DBus API instead of CLI helper 2014-09-24 15:29:22 +01:00
metadatatest.c
networkschematest
networkxml2conftest.c
networkxml2firewalltest.c
networkxml2xmltest.c conf: net: Correctly switch how to format address fields 2014-08-21 15:55:07 +02:00
networkxml2xmlupdatetest.c
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c
nwfilterebiptablestest.c
nwfilterschematest
nwfilterxml2firewalltest.c
nwfilterxml2xmltest.c
objecteventtest.c Resolve Coverity CHECKED_RETURN 2014-09-15 10:44:27 -04:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c
qemuargv2xmltest.c Add new 'kvm' domain feature and ability to hide KVM signature 2014-08-26 10:41:24 +02:00
qemucapabilitiestest.c qemu: Add RDMA migration capabilities 2014-09-23 08:11:49 +02:00
qemucaps2xmltest.c
qemuhelptest.c qemu: add capability probing for splash-timeout 2014-08-25 14:10:54 +02:00
qemuhotplugtest.c
qemumonitorjsontest.c qemu: Issue query-iothreads and to get list of active IOThreads 2014-09-15 13:18:56 -04:00
qemumonitortest.c
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c
qemuxml2argvtest.c qemu: Don't compare CPU against host for TCG 2014-10-03 11:30:29 -04:00
qemuxml2xmltest.c conf: add options for disabling segment offloading 2014-09-24 16:16:45 +02:00
qemuxmlnstest.c Move the FIPS detection from capabilities 2014-09-19 09:08:23 +02:00
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh
scsihosttest.c
seclabeltest.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
secretschematest
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c
securityselinuxtest.c
sexpr2xmltest.c xen: rename xenxs to xenconfig 2014-08-18 20:36:24 -06:00
shunloadhelper.c
shunloadtest.c tests: Resolve Coverity RESOURCE_LEAK 2014-08-28 12:52:42 +02:00
sockettest.c
ssh.c
start
statstest.c
storagebackendsheepdogtest.c
storagepoolschematest
storagepoolxml2xmltest.c storage: zfs: implement pool build and delete 2014-09-18 18:08:29 +04:00
storagevolschematest
storagevolxml2argvtest.c
storagevolxml2xmltest.c
sysinfotest.c
test_conf.c test_conf: Resolve Coverity RESOURCE_LEAK 2014-09-03 15:00:19 -04:00
test_conf.sh
test-lib.sh
testutils.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
testutils.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c tests: Add test cases for previous commit 2014-09-05 08:35:34 +02:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
utiltest.c
vboxsnapshotxmltest.c
vcpupin
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c
vircaps2xmltest.c
vircapstest.c
vircgroupmock.c
vircgrouptest.c
vircryptotest.c
virdbustest.c Support passing dict by reference for dbus messages 2014-09-24 15:29:22 +01:00
virdrivermoduletest.c virdrivermoduletest: Test all the modules 2014-08-27 07:41:48 +02:00
virendiantest.c
virfiletest.c
virfirewalltest.c tests: Add more test suite mock helpers 2014-09-11 15:40:50 -06:00
virhashdata.h
virhashtest.c
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmock.h tests: Add more test suite mock helpers 2014-09-11 15:40:50 -06:00
virmockdbus.c
virnetdevbandwidthtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c
virnettlscontexttest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
virpcimock.c
virpcitest.c
virpolkittest.c Convert polkit code to use DBus API instead of CLI helper 2014-09-24 15:29:22 +01:00
virportallocatortest.c util: Allow port allocator to skip bind() check 2014-09-11 15:40:14 -06:00
virscsitest.c
virsh-all
virsh-optparse
virsh-schedinfo
virsh-synopsis
virsh-undefine
virsh-uriprecedence
virshtest.c
virstoragetest.c util: storage: Allow metadata crawler to report useful errors 2014-09-24 09:28:29 +02:00
virstringtest.c tests: Resolve Coverity DEADCODE 2014-09-11 08:10:13 -04:00
virsystemdtest.c tests: Add more test suite mock helpers 2014-09-11 15:40:50 -06:00
virt-aa-helper-test
virtimetest.c
viruritest.c
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c
xencapstest.c
xmconfigtest.c xen: rename xenxs to xenconfig 2014-08-18 20:36:24 -06:00
xml2sexprtest.c xen: rename xenxs to xenconfig 2014-08-18 20:36:24 -06:00
xml2vmxtest.c