]> git.ipfire.org Git - thirdparty/libvirt.git/commit
relaxng: allow : in /dev/disk/by-path names v1.2.14-rc1
authorEric Blake <eblake@redhat.com>
Thu, 26 Mar 2015 22:48:07 +0000 (16:48 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 26 Mar 2015 22:57:26 +0000 (16:57 -0600)
commitdfc708750bb62cabd4617f3c0cf29beb27f28c28
treeeb6be3e9b80d164e66b32ca853c506ad0f6a4e1a
parent95003cd511b74fe89f374f40d505b89ce37cbce1
relaxng: allow : in /dev/disk/by-path names

On IRC, Hydrar pointed a problem where 'virsh edit' failed on
his domain created through an ISCSI pool managed by virt-manager,
all because the XML included a block device with colons in the
name.

* docs/schemas/basictypes.rng (absFilePath): Add colon as safe.
* tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.xml: New file.
* tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.args: Likewise.
* tests/qemuxml2argvtest.c (mymain): Test it.

Signed-off-by: Eric Blake <eblake@redhat.com>
docs/schemas/basictypes.rng
tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c