libvirt/tests
Daniel P. Berrange 2a2bc1517a Forbid use of ':' in RBD pool names
The QEMU command line syntax for RBD disks is

   file=rbd:pool/image:opt1=val1:opt2=val2...

There is no way to escape the ':' if it appears in the
pool or image name. Thus it must be explicitly forbidden
if it occurs in the libvirt XML. People are known to
be abusing the lack of escaping in current libvirt to
pass arbitrary args to QEMU.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-05-14 15:02:42 +01:00
..
capabilityschemadata capabilities: add NUMA memory information 2013-03-08 11:51:00 -07:00
commanddata build: clean up stray files found by 'make distcheck' 2013-05-06 14:01:08 -06:00
confdata
cputestdata
domainschemadata Add XML config for resource partitions 2013-04-15 17:35:31 +01:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout qemu: auto-add pci-root controller for pc machine types 2013-04-25 13:05:10 +02:00
fchostdata/fc_host tests: Add tests for fc_host 2013-05-13 17:24:18 +08:00
interfaceschemadata
lxcxml2xmldata Add 'nbd' as a valid filesystem driver type 2013-05-13 13:15:19 +01:00
networkxml2confdata Revert "Add support for <option> tag in network config" 2013-02-27 10:55:24 -05:00
networkxml2xmlin Support for static routes on a virtual bridge 2013-05-13 16:14:40 -04:00
networkxml2xmlout Support for static routes on a virtual bridge 2013-05-13 16:14:40 -04:00
nodedevschemadata
nodeinfodata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuhelpdata qemu: New cap flags for scsi-generic 2013-05-13 18:30:26 +08:00
qemuxml2argvdata Forbid use of ':' in RBD pool names 2013-05-14 15:02:42 +01:00
qemuxml2xmloutdata qemu: auto-add bridges and allow using them 2013-04-25 13:19:40 +02:00
qemuxmlnsdata
securityselinuxlabeldata Add a test suite for validating SELinux labelling 2013-01-14 13:40:04 +00:00
sexpr2xmldata
storagepoolxml2xmlin New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
storagepoolxml2xmlout New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
storagevolxml2argvdata storage: move qemu-img options before positional arguments 2013-02-24 18:11:40 +01:00
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata Implement minimal sysinfo for ARM platforms 2013-04-04 11:07:31 +01:00
vmx2xmldata
xencapsdata
xmconfigdata
xml2sexprdata
xml2vmxdata util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
.valgrind.supp valgrind: Adjust the suppression file 2013-02-07 14:08:14 -05:00
capabilityschematest
commandhelper.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
commandtest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
cpuset
cputest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
define-dev-segfault
domainschematest
domainsnapshotschematest
domainsnapshotxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
esxutilstest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
eventtest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
fchosttest.c tests: Add tests for fc_host 2013-05-13 17:24:18 +08:00
fdstreamtest.c build: avoid shadowed variable in fdstreamtest 2013-05-13 13:38:18 -06:00
int-overflow
interfaceschematest
interfacexml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
jsontest.c json: support removing a value from an object 2013-05-13 15:15:54 -06:00
libvirtd-fail
libvirtd-pool
libvirtdconftest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
lxcxml2xmltest.c Add support for storage format in FS <driver> 2013-05-13 13:15:19 +01:00
Makefile.am tests: Add tests for fc_host 2013-05-13 17:24:18 +08:00
networkschematest
networkxml2conftest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
networkxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
nodedevschematest
nodedevxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
nodeinfotest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
nwfilterschematest
nwfilterxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
object-locking.ml Rename 'DeviceMonitor' to 'NodeDeviceDriver' 2013-04-24 10:59:53 +01:00
oomtrace.pl
openvzutilstest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuargv2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
qemuhelptest.c qemu: New cap flags for scsi-generic 2013-05-13 18:30:26 +08:00
qemumonitorjsontest.c qemu: query command line options in QMP 2013-05-13 15:15:54 -06:00
qemumonitortest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
qemumonitortestutils.c qemu: use bool in monitor struct 2013-05-13 15:15:54 -06:00
qemumonitortestutils.h maint: Rename xmlconf to xmlopt and virDomainXMLConfig to virDomainXMLOption 2013-04-04 22:18:56 +02:00
qemuxml2argvtest.c Forbid use of ':' in RBD pool names 2013-05-14 15:02:42 +01:00
qemuxml2xmltest.c Introduce <readonly> for hostdev 2013-05-13 19:02:40 +08:00
qemuxmlnstest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
read-bufsiz
read-non-seekable
reconnect.c Rename command.{c,h} to vircommand.{c,h} 2012-12-21 11:17:13 +00:00
schematestutils.sh tests: use portable shell code 2013-05-09 11:46:45 -06:00
seclabeltest.c tests: uniformly report test failures 2013-02-25 17:38:11 -07:00
securityselinuxhelper.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
securityselinuxlabeltest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
securityselinuxtest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
sexpr2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
shunloadhelper.c syntax-check: Only allows to include public headers in external tools 2013-04-18 11:31:19 +08:00
shunloadtest.c cleanup: Only include testutils.h once 2013-04-17 15:41:04 +08:00
sockettest.c Rename memory.{c,h} to viralloc.{c,h} 2012-12-21 11:17:14 +00:00
ssh.c
start
statstest.c Rename stats_linux.{c,h} to virstatslinux.{c,h} 2012-12-21 11:19:48 +00:00
storagebackendsheepdogtest.c Build breaker - requires VIR_FROM_THIS 2013-05-10 08:52:43 -04:00
storagepoolschematest
storagepoolxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
storagevolschematest
storagevolxml2argvtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
storagevolxml2xmltest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
sysinfotest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
test_conf.c rename tests/conftest.c 2013-03-19 13:13:28 -06:00
test_conf.sh rename tests/conftest.c 2013-03-19 13:13:28 -06:00
test-lib.sh
testutils.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
testutils.h Ensure LD_PRELOAD exists before running test case 2013-04-05 10:41:46 +01:00
testutilslxc.c virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
testutilslxc.h
testutilsqemu.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
testutilsqemu.h maint: Rename xmlconf to xmlopt and virDomainXMLConfig to virDomainXMLOption 2013-04-04 22:18:56 +02:00
testutilsxen.c virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
testutilsxen.h virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
utiltest.c Rename util.{c,h} to virutil.{c,h} 2012-12-21 11:19:49 +00:00
vcpupin
viratomictest.c Rename threads.{c,h} to virthread.{c,h} 2012-12-21 11:19:49 +00:00
virauthconfigtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virbitmaptest.c Resolve valgrind error 2013-04-16 07:13:43 -04:00
virbuftest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
vircgroupmock.c Workaround issue with clang and inline functions with static vars 2013-05-14 15:00:22 +01:00
vircgrouptest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
virdrivermoduletest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virendiantest.c util: add virendian.h macros 2013-02-12 09:00:15 -07:00
virhashdata.h
virhashtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
viridentitytest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virkeycodetest.c Add a test suite for keycode mapping functions 2013-04-08 10:03:20 +01:00
virkeyfiletest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virlockspacetest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virnetmessagetest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
virnetsockettest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virnettlscontexttest.c Fix TLS tests with gnutls 3 2013-03-04 17:42:16 +00:00
virportallocatortest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virsh-all
virsh-optparse
virsh-schedinfo Allow multiple parameters for schedinfo 2013-04-03 08:49:30 +02:00
virsh-synopsis
virsh-undefine
virshtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virstoragetest.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virstringtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virt-aa-helper-test add vnc unix sockets to apparmor policy 2012-12-11 14:32:39 -07:00
virtimetest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
viruritest.c Disable some URI tests on older libxml2 2013-05-09 17:02:18 +01:00
vmx2xmltest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00
xencapstest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
xmconfigtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
xml2sexprtest.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
xml2vmxtest.c Adapt to VIR_STRDUP and VIR_STRNDUP in tests/* 2013-05-10 11:54:29 +02:00