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
..
2012-02-01 16:28:17 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 10:02:34 -07:00
2012-03-12 08:09:37 -06:00
2010-10-27 16:29:25 -06:00
2011-04-01 16:03:11 -06:00
2012-02-01 15:21:56 -07:00
2012-01-10 09:47:47 +01:00
2011-10-28 10:11:16 +01:00
2010-10-27 15:01:45 +11:00
2011-04-01 16:03:11 -06:00
2009-11-06 16:05:18 +01:00
2010-10-27 15:01:45 +11:00
2011-02-09 12:29:29 -07:00
2012-02-23 16:02:33 -07:00
2010-12-21 20:55:10 +11:00
2011-01-05 18:07:30 +11:00
2010-11-30 02:22:38 +11:00
2010-10-27 15:01:45 +11:00
2010-10-27 15:01:45 +11:00
2010-12-21 20:55:10 +11:00
2011-08-26 17:52:55 +02:00
2011-11-01 18:45:42 +01:00
2011-08-26 17:52:55 +02:00
2012-02-03 11:32:51 -07:00
2011-07-15 13:19:41 -06:00
2012-02-28 17:30:30 +01:00
2009-11-16 22:42:13 +01:00
2011-07-15 13:19:41 -06:00
2011-10-29 19:50:48 +02:00
2011-07-15 13:19:41 -06:00
2011-07-15 13:19:41 -06:00
2009-09-22 12:55:39 +02:00
2010-07-10 22:47:00 +10:00
2011-11-30 10:12:30 +00:00
2012-03-09 15:26:24 +08:00
2012-01-11 13:10:21 -07:00
2011-12-07 18:42:08 +08:00
2012-01-11 06:42:37 -05:00
2011-10-28 11:34:17 -06:00
2011-09-05 07:03:04 -06:00
2012-03-07 18:24:43 -07:00
2011-04-01 16:03:11 -06:00
2009-12-03 15:27:24 +01:00
2011-03-28 10:40:24 +08:00
2010-11-12 19:47:20 +01:00
2010-11-12 19:47:20 +01:00
2011-10-06 16:50:38 +02:00
2012-02-29 12:27:12 +01:00
2011-06-06 10:45:59 +02:00
2011-08-26 17:52:55 +02:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2009-04-02 12:01:11 +00:00
2009-09-22 12:55:39 +02:00
2009-07-16 15:06:42 +02:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2011-10-28 10:07:45 +01:00
2012-02-03 11:32:51 -07:00
2011-04-01 16:03:11 -06:00
2012-02-14 16:42:02 +00:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2012-02-03 11:32:51 -07:00
2011-08-12 07:35:19 -06:00
2012-02-13 22:31:31 +08:00
2009-07-29 09:04:21 +01:00
2011-10-28 10:11:16 +01:00
2011-01-28 08:44:05 -07:00
2011-02-09 12:29:29 -07:00
2012-02-09 14:28:40 -07:00
2009-11-06 16:05:18 +01:00
2011-08-12 13:54:10 +01:00
2011-01-17 16:55:41 +08:00
2009-12-08 16:09:33 +01:00
2011-10-28 10:07:45 +01:00
2012-02-02 15:51:25 -07:00
2011-10-28 10:11:16 +01:00
2010-12-02 16:00:47 -07:00
2011-05-11 19:18:38 +08:00
2011-05-11 08:18:04 -06:00
2011-05-11 19:18:38 +08:00
2010-10-12 11:26:52 +01:00
2011-07-12 17:10:33 +01:00
2011-10-19 09:14:34 +01:00
2011-01-11 07:33:15 +11:00
2011-04-01 16:03:11 -06:00
2010-11-12 19:47:20 +01:00