libvirt/docs/schemas
Eric Blake 6e0ff1d402 qemu: support disk filenames with comma
If there is a disk file with a comma in the name, QEmu expects a double
comma instead of a single one (e.g., the file "virtual,disk.img" needs
to be specified as "virtual,,disk.img" in QEmu's command line). This
patch fixes libvirt to work with that feature. Fix RHBZ #801036.

Based on an initial patch by Crístian Viana.

* src/util/buf.h (virBufferEscape): Alter signature.
* src/util/buf.c (virBufferEscape): Add parameter.
(virBufferEscapeSexpr): Fix caller.
* src/qemu/qemu_command.c (qemuBuildRBDString): Likewise.  Also
escape commas in file names.
(qemuBuildDriveStr): Escape commas in file names.
* docs/schemas/basictypes.rng (absFilePath): Relax RNG to allow
commas in input file names.
* tests/qemuxml2argvdata/*-disk-drive-network-sheepdog.*: Update
test.

Signed-off-by: Eric Blake <eblake@redhat.com>
2012-03-12 08:09:37 -06:00
..
basictypes.rng qemu: support disk filenames with comma 2012-03-12 08:09:37 -06:00
capability.rng xml: Clean up schemas to use shared data types instead of local 2012-03-08 15:31:54 +01:00
domain.rng snapshot: update rng to support full domain in xml 2011-09-03 08:12:13 -06:00
domaincommon.rng qemu: spice agent-mouse support 2012-03-09 15:26:24 +08:00
domainsnapshot.rng snapshot: also support disks by path 2011-09-05 07:03:04 -06:00
interface.rng xml: Clean up schemas to use shared data types instead of local 2012-03-08 15:31:54 +01:00
Makefile.am snapshot: update rng to support full domain in xml 2011-09-03 08:12:13 -06:00
network.rng Adding the element pf to network xml. 2012-01-11 13:10:21 -07:00
networkcommon.rng Implement DNS SRV record into the bridge driver 2012-01-02 23:05:55 +08:00
nodedev.rng xml: Clean up schemas to use shared data types instead of local 2012-03-08 15:31:54 +01:00
nwfilter.rng xml: Clean up schemas to use shared data types instead of local 2012-03-08 15:31:54 +01:00
secret.rng Use a common xml type for ceph secret usage. 2011-10-28 16:01:14 -06:00
storageencryption.rng
storagepool.rng xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
storagevol.rng xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00