libvirt/tests
Andrea Bolognani eccdcb81fc conf: Add target type and model for pl011
We can finally introduce a specific target model for the pl011 device
used by mach-virt guests, which means isa-serial will no longer show
up to confuse users.

We make sure migration works in both directions by interpreting the
isa-serial target type, or the lack of target type, appropriately
when parsing the guest XML, and skipping the newly-introduced type
when formatting if for migration. We also verify that pl011 is not
used for non-mach-virt guests and add a bunch of test cases.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=151292

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2017-11-28 15:46:34 +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
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
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 tests: add generic xml chardev source reconnect tests 2017-08-29 10:30:05 +02:00
genericxml2xmloutdata conf: fix formatting of udp chardev attributes 2017-09-26 13:36:51 +02:00
interfaceschemadata
libxlxml2domconfigdata libxlxml2domconfigtest: add test for vNUMA config 2017-11-12 19:39:57 -07:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata nodedev: add switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata qemu: Set targetModel based on targetType for serial devices 2017-11-28 15:46:33 +01:00
qemucapabilitiesdata qemu: Get capabilities to use iscsi password-secret argument 2017-11-24 11:47:26 -05:00
qemucaps2xmldata
qemuhelpdata
qemuhotplugtestcpus
qemuhotplugtestdevices qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplugtestdomains qemu: Set targetModel based on targetType for serial devices 2017-11-28 15:46:33 +01:00
qemumemlockdata
qemumonitorjsondata tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
qemuxml2argvdata conf: Add target type and model for pl011 2017-11-28 15:46:34 +01:00
qemuxml2xmloutdata conf: Add target type and model for pl011 2017-11-28 15:46:34 +01: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
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
virjsondata
virmacmaptestdata tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
virnetdaemondata
virnetdevtestdata/sys/class/net
virpcitestdata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xencapsdata
xlconfigdata xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
xmconfigdata
xml2sexprdata
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 tests: Rename ppc64le caps to ppc64 2017-11-08 10:47:38 +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
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
interfacexml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libvirtd-fail
libvirtd-pool
libxlxml2domconfigtest.c libxlxml2domconfigtest: add test for vNUMA config 2017-11-12 19:39: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
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 Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemuargv2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemublocktest.c tests: Add testing of storage backend JSON props formatter 2017-11-07 16:18:14 +01:00
qemucapabilitiestest.c tests: Add caps for QEMU 2.10.0 on ppc64 2017-11-08 10:47:40 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucapsprobe.c qemu: pass only host arch instead of the whole virCaps 2017-07-26 15:35:24 +02: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 Remove backslash alignment attempts 2017-11-03 13:24:12 +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 conf: Add target type and model for pl011 2017-11-28 15:46:34 +01:00
qemuxml2xmltest.c conf: Add target type and model for pl011 2017-11-28 15:46:34 +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
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: switch QEMU capabilities to use virFileCache 2017-07-26 15:36:21 +02: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
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
virhostcputest.c
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 Remove backslash alignment attempts 2017-11-03 13:24:12 +01: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 Remove backslash alignment attempts 2017-11-03 13:24:12 +01: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
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
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 Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
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 util: storage: Fix parsing of IPv6 portal address for iSCSI 2017-11-08 13:10:40 +01:00
virstorageutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virstringtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +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 xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -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