libvirt/tests
John Ferlan a1344f70a1 qemu: Utilize qemu secret objects for RBD auth/secret
https://bugzilla.redhat.com/show_bug.cgi?id=1182074

If they're available and we need to pass secrets to qemu, then use the
qemu domain secret object in order to pass the secrets for RBD volumes
instead of passing the base64 encoded secret on the command line.

The goal is to make AES secrets the default and have no user interaction
required in order to allow using the AES mechanism. If the mechanism
is not available, then fall back to the current plain mechanism using
a base64 encoded secret.

New APIs:

qemu_domain.c:
  qemuDomainGetSecretAESAlias:
    Generate/return the secret object alias for an AES Secret Info type.
    This will be called from qemuDomainSecretAESSetup.

  qemuDomainSecretAESSetup: (private)
    This API handles the details of the generation of the AES secret
    and saves the pieces that need to be passed to qemu in order for
    the secret to be decrypted. The encrypted secret based upon the
    domain master key, an initialization vector (16 byte random value),
    and the stored secret. Finally, the requirement from qemu is the IV
    and encrypted secret are to be base64 encoded.

qemu_command.c:
  qemuBuildSecretInfoProps: (private)
    Generate/return a JSON properties object for the AES secret to
    be used by both the command building and eventually the hotplug
    code in order to add the secret object. Code was designed so that
    in the future perhaps hotplug could use it if it made sense.

  qemuBuildObjectSecretCommandLine (private)
    Generate and add to the command line the -object secret for the
    secret. This will be required for the subsequent RBD reference
    to the object.

  qemuBuildDiskSecinfoCommandLine (private)
    Handle adding the AES secret object.

Adjustments:

qemu_domain.c:
  The qemuDomainSecretSetup was altered to call either the AES or Plain
  Setup functions based upon whether AES secrets are possible (we have
  the encryption API) or not, we have secrets, and of course if the
  protocol source is RBD.

qemu_command.c:
  Adjust the qemuBuildRBDSecinfoURI API's in order to generate the
  specific command options for an AES secret, such as:

    -object secret,id=$alias,keyid=$masterKey,data=$base64encodedencrypted,
            format=base64
    -drive file=rbd:pool/image:id=myname:auth_supported=cephx\;none:\
           mon_host=mon1.example.org\:6321,password-secret=$alias,...

  where the 'id=' value is the secret object alias generated by
  concatenating the disk alias and "-aesKey0". The 'keyid= $masterKey'
  is the master key shared with qemu, and the -drive syntax will
  reference that alias as the 'password-secret'. For the -drive
  syntax, the 'id=myname' is kept to define the username, while the
  'key=$base64 encoded secret' is removed.

  While according to the syntax described for qemu commit '60390a21'
  or as seen in the email archive:

    https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg04083.html

  it is possible to pass a plaintext password via a file, the qemu
  commit 'ac1d8878' describes the more feature rich 'keyid=' option
  based upon the shared masterKey.

Add tests for checking/comparing output.

NB: For hotplug, since the hotplug code doesn't add command line
    arguments, passing the encoded secret directly to the monitor
    will suffice.
2016-05-20 11:09:05 -04:00
..
bhyvexml2argvdata bhyve: bhyveload: respect boot dev and boot order 2016-01-25 04:19:33 +03:00
bhyvexml2xmloutdata tests: add bhyve xml2xml test 2014-04-08 20:50:36 +04:00
capabilityschemadata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
commanddata command: test umask support 2014-09-03 09:36:13 -06:00
cputestdata cpu_x86: Use array of features in CPU map 2016-05-20 09:18:56 +02:00
domaincapsschemadata domaincapstest: Give better names to test data files 2016-05-16 10:37:29 +02:00
domainconfdata
domainschemadata perf: add new xml element 2016-03-29 13:13:05 +01:00
domainsnapshotxml2xmlin conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
domainsnapshotxml2xmlout qemu: address: Remove QEMU_CAPS_DEVICE usage 2016-05-18 14:33:58 -04:00
fchostdata/fc_host
genericxml2xmlindata genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
genericxml2xmloutdata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
interfaceschemadata interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
lxcconf2xmldata lxc: use virDomainDefPostParse for parsing LXC config string 2015-12-09 12:59:02 +01:00
lxcxml2xmldata lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxcxml2xmloutdata
networkxml2confdata network: fix DHCPv6 on networks with prefix != 64 2016-04-21 15:06:25 -04:00
networkxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
networkxml2xmlin network: prevent duplicate entries in network device pools 2016-04-19 12:39:13 -04:00
networkxml2xmlout conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
networkxml2xmlupdatein network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
networkxml2xmlupdateout network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nodedevschemadata schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
nodeinfodata tests: Remove unused nodeinfo test data 2015-10-22 09:32:58 +02:00
nssdata nss: Introduce a test 2016-03-18 17:29:53 +01:00
nwfilterxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
nwfilterxml2xmlin nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilterxml2xmlout nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
qemuagentdata qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
qemuargv2xmldata qemu: parse: Handle suffixes for -m memory 2016-05-20 08:46:39 -04:00
qemucapabilitiesdata qemu: Drop QEMU_CAPS_VIRTIO_BLK_SG_IO 2016-05-17 00:01:45 +02:00
qemucaps2xmldata qemu: command: Use -name guest= if available 2016-05-16 10:30:38 -04:00
qemuhelpdata qemu: mandate QEMU version 0.12.0 or newer 2015-11-10 10:38:00 +00:00
qemuhotplugtestdata Revert "qemu_hotplug: fix checking graphics ports" 2016-05-18 17:16:56 +02:00
qemumonitorjsondata
qemuxml2argvdata qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemuxml2xmloutdata tests: cleanup vnc auto socket test 2016-05-20 10:05:55 +02:00
secretxml2xmlin
securityselinuxhelperdata tests: Flesh out securityselinuxhelper 2014-03-07 14:02:10 +01:00
securityselinuxlabeldata caps: Use DomainDataLookup to replace GuestDefault* 2015-04-20 16:43:13 -04:00
sexpr2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
storagepoolschemadata
storagepoolxml2xmlin tests: storagepoolxml2xmltest: Fix pool-rbd test 2016-03-28 12:02:31 -04:00
storagepoolxml2xmlout tests: storagepoolxml2xmltest: Fix pool-rbd test 2016-03-28 12:02:31 -04:00
storagevolschemadata
storagevolxml2argvdata tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -04:00
storagevolxml2xmlin tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -04:00
storagevolxml2xmlout conf: storage: Don't emit empty <permissions> block 2015-05-25 20:52:57 -04:00
sysinfodata sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
vboxsnapshotxmldata tests: fix vbox snapshot xmls 2014-06-18 15:19:18 +02:00
vircaps2xmldata vircaps2xmltest: Introduce basic testing 2014-06-05 13:58:13 +02:00
vircgroupdata tests: Add tests for virCgroupDetectMounts 2015-03-18 09:53:24 +01:00
virconfdata tests: rename test_conf -> virconftest 2016-04-21 18:14:07 -04:00
virfiledata
virnetdaemondata virjson: Make pretty format more compact 2016-05-05 10:01:55 +02:00
virnetdevtestdata/sys/class/net Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virpcitestdata
virscsidata tests: Fix SCSI test data filenames for Windows 2014-03-29 21:14:15 +01:00
virusbtestdata/sys_bus_usb/devices Add tests for virUSBDeviceFind functions 2014-03-03 14:35:22 +01:00
vmwareverdata vmware: make version parsing more robust 2014-06-11 14:56:18 +02:00
vmx2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
xencapsdata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
xlconfigdata xlconfigtest: add test case for type=vif in xl format 2016-05-17 14:09:11 -06:00
xmconfigdata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
xml2sexprdata xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
xml2vmxdata vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00
.valgrind.supp
bhyvexml2argvmock.c bhyvexml2argvmock: change int to size_t for tapfdSize 2015-02-11 14:30:45 +01:00
bhyvexml2argvtest.c bhyve: bhyveload: respect boot dev and boot order 2016-01-25 04:19:33 +03:00
bhyvexml2xmltest.c tests: Enable failure testing with CompareDomXML2XML 2016-04-14 12:25:57 -04:00
capabilityschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
check-file-access.pl tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
commandhelper.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
commandtest.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
cputest.c tests: Add some compatibility-related cases to the CPU tests 2015-08-21 15:42:38 -07:00
domaincapsschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
domaincapstest.c qemuaincapstest: Give better names to test data files 2016-05-16 10:37:29 +02:00
domainconftest.c tests: Use *DefParseFile more 2015-04-23 17:08:48 -04:00
domainschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
domainsnapshotschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
domainsnapshotxml2xmltest.c conf: add caps to virDomainSnapshotDefFormat 2016-02-05 10:57:39 +00:00
esxutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
eventtest.c tests: eventtest: Fix coverity warning 2015-10-07 10:48:45 -04:00
fchosttest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
fdstreamtest.c Use virFileFindResource to locate iohelper for fdstream 2014-04-25 11:59:46 +01:00
file_access_whitelist.txt tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
genericxml2xmltest.c genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
interfaceschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
interfacexml2xmltest.c tests: use virtTestDifferenceFull in tests where we have output file 2016-01-26 17:53:33 +01:00
jsontest.c json: enhance parser test 2015-06-25 09:11:15 +02:00
libvirtd-fail tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libvirtd-pool tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libvirtdconftest.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
lxcconf2xmltest.c tests: lxcconf2xml: Drop XML blanking 2016-02-17 11:07:21 -05:00
lxcxml2xmltest.c tests: Enable failure testing with CompareDomXML2XML 2016-04-14 12:25:57 -04:00
Makefile.am tests: Add mock for virRandomBytes 2016-05-20 09:36:28 -04:00
metadatatest.c test: metadata: Improve test coverage 2014-07-17 17:04:12 +02:00
networkschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
networkxml2conftest.c network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
networkxml2firewalltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2xmltest.c tests: Fix enumeration value 2016-04-20 14:36:37 +02:00
networkxml2xmlupdatetest.c network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nodedevschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
nodedevxml2xmltest.c conf: Parse more of our nodedev XML 2016-05-02 15:46:23 +02:00
nodeinfomock.c tests: Prepare for subcore tests 2015-08-03 08:38:46 -04:00
nodeinfotest.c tests: nodeinfotest: Remove virSaveLastError() usage 2016-05-19 15:25:10 -04:00
nsslinktest.c tests: Introduce nsslinktest 2016-03-18 17:29:53 +01:00
nssmock.c nssmock: Adapt to virmock.h 2016-05-14 09:19:51 +02:00
nsstest.c nss: FreeBSD support 2016-03-30 10:21:44 +03:00
nwfilterebiptablestest.c tests.nwfilterebiptablestest: swap actual and expected 2016-01-08 16:08:15 +01:00
nwfilterschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
nwfilterxml2firewalltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
nwfilterxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
objecteventtest.c objecteventtest: Check for virNetwork* return values 2015-03-23 09:56:15 +01:00
objectlocking.ml network_conf: Make virNetworkObj actually virObject 2015-03-11 16:58:48 +01:00
oomtrace.pl
openvzutilstest.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: split out common qemu driver initialization 2015-09-22 13:56:59 +02:00
qemuargv2xmltest.c qemu: parse: Handle suffixes for -m memory 2016-05-20 08:46:39 -04:00
qemucapabilitiestest.c qemuaincapstest: Give better names to test data files 2016-05-16 10:37:29 +02:00
qemucaps2xmlmock.c tests: introduce qemucaps2xmlmock 2015-03-27 16:55:33 +01:00
qemucaps2xmltest.c tests: Resolve Coverity RESOURCE_LEAK 2015-09-24 09:53:38 -04:00
qemucapsprobe.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
qemucapsprobemock.c tests: Add qemucapsprobe helper 2016-05-05 10:01:55 +02:00
qemucommandutiltest.c tests: fix some memleaks in tests 2015-04-27 10:04:38 +02:00
qemuhelptest.c qemu: Drop QEMU_CAPS_VIRTIO_BLK_SG_IO 2016-05-17 00:01:45 +02:00
qemuhotplugtest.c tests: do not overwrite return value when filling qemuCapsCache 2016-04-14 16:37:50 +02:00
qemumonitorjsontest.c qemumonitorjsontest: add test for getting multithread compress params 2016-04-14 14:57:41 +02:00
qemumonitortest.c tests: Avoid use of virQEMUDriverCreateXMLConf(NULL) 2015-09-22 17:05:16 +02:00
qemumonitortestutils.c test: qemu: Fix qemu monitor test utils to allow testing HMP 2015-03-11 11:28:03 +01:00
qemumonitortestutils.h
qemuxml2argvmock.c qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemuxml2argvtest.c qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemuxml2xmltest.c tests: cleanup vnc auto socket test 2016-05-20 10:05:55 +02:00
schematestutils.sh Cleanup srcdir usage 2015-04-27 16:03:31 +02:00
scsihosttest.c tests: scsihost: Use fakerootdir instead of fakesysfsdir 2015-12-09 15:22:59 +01:00
seclabeltest.c seclabeltest: Update to use VIRT_TEST_MAIN 2016-05-10 17:16:11 +02:00
secretschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
secretxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
securityselinuxhelper.c securityselinuxhelper: Adapt to virmock.h 2016-05-14 09:22:12 +02:00
securityselinuxlabeltest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
securityselinuxtest.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
sexpr2xmltest.c conf: add caps to virDomainDefFormat* 2016-02-04 12:38:26 +00:00
shunloadhelper.c Use K&R style for curly braces in tests/ 2014-03-20 17:06:38 +01:00
shunloadtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
sockettest.c network: validate network NAT range 2015-08-10 13:06:56 -04:00
ssh.c
storagebackendsheepdogtest.c tests: sheepdog: Drop use of virtTestResult 2015-10-05 14:34:04 -04:00
storagepoolschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
storagepoolxml2xmltest.c tests: storagepoolxml2xmltest: Enable pool-rbd 2016-03-28 12:02:31 -04:00
storagevolschematest tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
storagevolxml2argvtest.c tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -04:00
storagevolxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
sysinfotest.c sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
test-lib.sh tools: Fix connect command 2016-05-02 07:18:25 +02:00
test-wrap-argv.pl tests: Make test-wrap-argv.pl executable 2015-12-29 09:37:35 +01:00
testutils.c tests: Allow multiple mock libraries 2016-05-20 11:09:05 -04:00
testutils.h tests: Allow multiple mock libraries 2016-05-20 11:09:05 -04:00
testutilslxc.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
testutilslxc.h Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
testutilsqemu.c tests: Prepare to have different usable GIC versions 2016-05-18 11:27:56 +02:00
testutilsqemu.h tests: Prepare to have different usable GIC versions 2016-05-18 11:27:56 +02:00
testutilsxen.c caps: Convert to use VIR_DOMAIN_VIRT internally 2015-04-20 16:40:26 -04:00
testutilsxen.h tests: Tests for the xen-xl parser 2015-01-14 08:28:50 -07:00
utiltest.c util: add virDiskNameParse to handle disk and partition idx 2015-11-18 13:48:38 -07:00
vboxsnapshotxmltest.c vboxsnapshotxmltest: Don't write to a file in abs_srcdir 2014-07-01 16:46:29 +02:00
viralloctest.c util: alloc: Introduce freeing helpers that clear the memory before freeing 2016-05-16 12:58:48 +02:00
viratomictest.c
virauthconfigtest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virbitmaptest.c util: bitmap: Introduce self-expanding bitmap APIs 2016-03-29 21:25:41 +02:00
virbuftest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
vircaps2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
vircapstest.c conf: Add new VIR_DOMAIN_VIRT_NONE enum 2015-09-25 15:33:53 -04:00
vircgroupmock.c virmock.h: Introduce VIR_MOCK_CALL_STAT 2016-05-14 09:25:56 +02:00
vircgrouptest.c cgroup: Prepare for sparse vCPU topologies in virCgroupGetPercpuStats 2016-02-08 09:51:34 +01:00
virconftest.c tests: rename test_conf -> virconftest 2016-04-21 18:14:07 -04:00
virconftest.sh tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
vircryptotest.c util: Introduce encryption APIs 2016-05-20 11:09:01 -04:00
virdbusmock.c tests: Rename virmockdbus -> virdbusmock for consistency 2016-02-11 18:24:32 +01:00
virdbustest.c dbus: Don't unref NULL messages 2016-02-11 11:35:02 +01:00
virdrivermoduletest.c Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
virendiantest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virfiletest.c util: file: Don't carelessly sanitize URIs 2015-04-09 09:43:36 +02:00
virfirewalltest.c tests: Rename virmockdbus -> virdbusmock for consistency 2016-02-11 18:24:32 +01:00
virhashdata.h
virhashtest.c util: Refactor virHashForEach so it returns as soon as an iterator fails 2016-02-17 12:46:34 +01:00
virhostdevtest.c qemu: Introduce qemuDomainHostdevPrivatePtr 2016-05-02 06:10:19 -04:00
viridentitytest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
viriscsitest.c iscsi: Remove initiatoriqn from virISCSIScanTargets 2016-05-18 08:29:24 -04:00
virkeycodetest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virkeyfiletest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virkmodtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virlockspacetest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virlogtest.c tests: Add new testcases to test parsing of log filters in virlogtest 2016-03-24 16:39:28 +01:00
virmock.h virmock.h: Introduce VIR_MOCK_CALL_STAT 2016-05-14 09:25:56 +02:00
virnetdaemonmock.c rpc: virnetserverclient: Introduce new attribute conn_time to client 2016-05-02 22:25:52 +02:00
virnetdaemontest.c rpc: virnetserverclient: Introduce new attribute conn_time to client 2016-05-02 22:25:52 +02:00
virnetdevbandwidthmock.c Iface: disallow network tuning in session mode globally 2014-11-06 14:28:37 +01:00
virnetdevbandwidthtest.c virnetdevbandwidth: Compute quantum value 2016-02-05 16:43:19 +01:00
virnetdevmock.c Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetdevtest.c Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetmessagetest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virnetserverclientmock.c
virnetserverclienttest.c rpc: virnetserverclient: Identify clients by an integer ID 2016-05-02 22:25:51 +02:00
virnetsockettest.c virnetsocket: Provide socket address format in a more standard form 2016-05-03 15:52:50 +02:00
virnettlscontexttest.c tests: virtnettlscontexttest: Use virGetLastErrorMessage() 2016-03-28 13:27:47 -04:00
virnettlshelpers.c tests: extend workaround for gnutls private key loading failure 2015-08-04 12:28:24 +01:00
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 virmock.h: Introduce VIR_MOCK_CALL_STAT 2016-05-14 09:25:56 +02:00
virpcitest.c tests: Fix typo oaque -> opaque 2016-02-23 10:36:13 +01:00
virpolkittest.c polkit: Adjust message when authentication agent isn't found 2016-03-01 06:50:16 -05:00
virportallocatormock.c virportallocatortest: Run on linux only 2016-02-12 16:13:31 +01:00
virportallocatortest.c virportallocatortest: Run on linux only 2016-02-12 16:13:31 +01:00
virrandommock.c tests: Add mock for virRandomBytes 2016-05-20 09:36:28 -04:00
virrandomtest.c tests: Add mock for virRandomBytes 2016-05-20 09:36:28 -04:00
virrotatingfiletest.c virlogd: fix crash if log file exists and it's larger the maxlen 2015-11-30 10:45:45 +01:00
virscsitest.c virfile: Check for existence of dir in virFileDeleteTree 2015-09-16 11:23:16 -04:00
virsh-all tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-cpuset tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-define-dev-segfault tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-read-bufsiz tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-read-non-seekable tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-schedinfo tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-start tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-synopsis tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-undefine tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-uriprecedence tools: Fix connect command 2016-05-02 07:18:25 +02:00
virsh-vcpupin tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virshtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virstoragetest.c storage: remove support for /usr/bin/kvm-img 2016-04-20 08:55:36 -04:00
virstringtest.c virStringListLength: Ensure const correctness 2016-02-09 15:44:58 -05:00
virsystemdtest.c tests: Rename virmockdbus -> virdbusmock for consistency 2016-02-11 18:24:32 +01:00
virt-aa-helper-test virt-aa-helper: allow access to /usr/share/ovmf/ 2015-08-24 13:00:39 +02:00
virtestmock.c virtestmock: Print invalid file accesses into a file 2016-05-14 09:46:23 +02:00
virtimetest.c Remove new lines from log messages 2015-11-04 13:09:35 +01:00
virtypedparamtest.c Libvirt: virTypedParamsValidate: Fix detection of multiple parameters 2016-04-18 15:57:20 +02:00
viruritest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virusbmock.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virusbtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
vmwarevertest.c vmware: make version parsing more robust 2014-06-11 14:56:18 +02:00
vmx2xmltest.c conf: add caps to virDomainDefFormat* 2016-02-04 12:38:26 +00:00
xencapstest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
xlconfigtest.c xlconfigtest: add test case for type=vif in xl format 2016-05-17 14:09:11 -06:00
xmconfigtest.c xenconfig: change 'hap' setting to align with Xen behavior 2016-03-21 09:28:17 -06:00
xml2sexprtest.c xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
xml2vmxtest.c vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00