summaryrefslogtreecommitdiff
path: root/tests/storagepoolxml2xmltest.c
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2016-01-07 06:57:28 -0500
committerJohn Ferlan <jferlan@redhat.com>2016-01-19 13:02:59 -0500
commit4f84617078e26c4e2847b64559a82898d4044183 (patch)
tree5b29166a4df885c2e54baf36e3814842b28bc6b1 /tests/storagepoolxml2xmltest.c
parentc03fbecc7cd463900d0291034e873f00062a75db (diff)
downloadlibvirt-4f84617078e26c4e2847b64559a82898d4044183.tar.gz
conf: Add storage pool device attribute part_separator
Add a new storage pool source device attribute 'part_separator=[yes|no]' in order to allow a 'disk' storage pool using a device mapper multipath device to not add the "p" partition separator to the generated device name when libvirt_parthelper is run. This will allow libvirt to find device mapper multipath devices which were configured in /etc/multipath.conf to use 'user_friendly_names' or custom 'alias' names for the LUN.
Diffstat (limited to 'tests/storagepoolxml2xmltest.c')
-rw-r--r--tests/storagepoolxml2xmltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/storagepoolxml2xmltest.c b/tests/storagepoolxml2xmltest.c
index b03c4b0176..41d69878cd 100644
--- a/tests/storagepoolxml2xmltest.c
+++ b/tests/storagepoolxml2xmltest.c
@@ -80,6 +80,7 @@ mymain(void)
DO_TEST("pool-logical-nopath");
DO_TEST("pool-logical-create");
DO_TEST("pool-disk");
+ DO_TEST("pool-disk-device-nopartsep");
DO_TEST("pool-iscsi");
DO_TEST("pool-iscsi-auth");
DO_TEST("pool-netfs");