libvirt/tests
John Ferlan 10c73bf18a qemu: Need to assign PCI address to vhost-scsi
Commit id '70249927b' neglected to cover this case because the test
had taken the "shortcut" to already add the <address>; however, when
the PCI address assignment code was adjusted by commit id '70249927'
the vhost-scsi (VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_SCSI_HOST) wasn't
covered thus returning a 0 for pciFlags. So I altered the tests too
to make sure it doesn't happen again.

Previously the qemuxml2xmloutdata was a softlink to the source
qemuxml2argvdata, so I unlinked and recreated the output file to
force generation of the adddress. Without the test changes, an
address generation returns:

    libvirt: Domain Config error : internal error: Cannot automatically
    add a new PCI bus for a device with connect flags 00

if an address was supplied in the test, a restart of libvirtd or
edit of a guest would display the following opaque message:

    warning : qemuDomainCollectPCIAddress:1237 :
    qemuDomainDeviceCalculatePCIConnectFlags() thinks that the device
     with PCI address 0000:00:09.0 should not have a PCI address

where the address is related to the guest PCI address provided.
2017-12-13 15:37:30 -05:00
..
bhyveargv2xmldata bhyve: add e1000 nic support 2017-02-11 06:51:28 +04:00
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 network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
networkxml2firewalldata
networkxml2xmlin network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
networkxml2xmlout network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
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 QEMU_CAPS_DEVICE_PL011 2017-11-28 15:58:37 +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: Need to assign PCI address to vhost-scsi 2017-12-13 15:37:30 -05:00
qemuxml2xmloutdata qemu: Need to assign PCI address to vhost-scsi 2017-12-13 15:37:30 -05:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata Terminate backing chains explicitly 2017-10-17 06:19:18 +02:00
storagepoolschemadata
storagepoolxml2xmlin schema: do not require name for certain pool types 2017-03-29 10:36:55 +02:00
storagepoolxml2xmlout conf: do not steal pointers from the pool source 2017-03-29 10:36:55 +02:00
storagevolschemadata
storagevolxml2argvdata tests: Add storagevol tests for format=iso 2017-03-08 13:22:33 -05:00
storagevolxml2xmlin tests: Add storagevol tests for format=iso 2017-03-08 13:22:33 -05:00
storagevolxml2xmlout tests: Add storagevol tests for format=iso 2017-03-08 13:22:33 -05:00
sysinfodata tests: sysinfo: Add test data for HP moonshot aarch64 box 2017-03-07 10:44:26 +01:00
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 tests: Add linux-caches sysfs entries for vircaps2xmltest 2017-03-27 13:13:29 +02: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
virnetdevtestdata/sys/class/net
virpcitestdata
virscsidata tests: Fix SCSI test data filenames for Windows 2014-03-29 21:14:15 +01:00
virstorageutildata storage: gluster: Use volume name as "<name>" field in the XML 2017-04-04 16:36:15 +02:00
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 valgrind: add suppression for bash memory leak 2017-02-14 10:54:29 +01:00
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 tests: fix some resource leaks 2017-04-11 13:23:01 +02:00
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 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 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 refactoring: Use the return value of virObjectRef directly 2017-04-10 14:49:20 +02:00
qemumonitortestutils.h
qemuxml2argvmock.c qemu: set default vhost-user ifname 2017-01-20 15:42:12 +01:00
qemuxml2argvtest.c tests: Drop qemuxml2argv- prefix for qemuxml2argv test cases 2017-12-05 07:32:08 +01:00
qemuxml2xmltest.c test: Drop useless prefix for qemuxml2xmldata test data 2017-12-05 14:52:49 +01:00
scsihosttest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
seclabeltest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
viratomictest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 util: Remove virsysfs and instead enhance virFileReadValue* functions 2017-05-09 13:12:40 +02:00
virhostdevtest.c qemu: Remove private hostdev 2017-11-24 11:47:26 -05:00
viridentitytest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
virkmodtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virlockspacetest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
virnetserverclientmock.c
virnetserverclienttest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02: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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
virportallocatormock.c
virportallocatortest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
virrandommock.c tests: Add new fchosttest tests for management of a vHBA 2017-02-19 06:45:09 -05:00
virrotatingfiletest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 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 virtestmock: Mock stat() properly 2016-05-20 17:16:21 +02:00
virtimetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virtypedparamtest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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 tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
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