qemu/block
Ram Pai 707c0dbc97 support colon in filenames
Problem: It is impossible to feed filenames with the character colon because
qemu interprets such names as a protocol. For example filename scsi:0, is
interpreted as a protocol by name "scsi".

This patch allows user to espace colon characters. For example the above
filename can now be expressed either as 'scsi\:0' or as file:scsi:0

anything following the "file:" tag is interpreted verbatin. However if "file:"
tag is omitted then any colon characters in the string must be escaped using
backslash.

Here are couple of examples:

scsi\:0\:abc is a local file scsi:0:abc
http\://myweb is a local file by name http://myweb
file:scsi:0:abc is a local file scsi:0:abc
file:http://myweb is a local file by name http://myweb

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29 13:50:05 -05:00
..
bochs.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c qemu-img: Print available options with -o ? 2009-06-06 18:38:57 +03:00
curl.c fully split aio_pool from BlockDriver 2009-05-27 09:46:03 -05:00
dmg.c support colon in filenames 2009-06-29 13:50:05 -05:00
nbd.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
parallels.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
qcow2-cluster.c alloc_cluster_link_l2: Write complete sectors 2009-06-16 15:18:36 -05:00
qcow2-refcount.c update_refcount: Write complete sectors 2009-06-16 15:18:37 -05:00
qcow2-snapshot.c Fix QCOW2 debugging code to compile again 2009-06-29 08:52:40 -05:00
qcow2.c Fix QCOW2 debugging code to compile again 2009-06-29 08:52:40 -05:00
qcow2.h Fix QCOW2 debugging code to compile again 2009-06-29 08:52:40 -05:00
qcow.c qemu-img: Print available options with -o ? 2009-06-06 18:38:57 +03:00
raw-posix.c support colon in filenames 2009-06-29 13:50:05 -05:00
raw-win32.c block: add bdrv_probe_device method 2009-06-15 14:04:22 +02:00
vmdk.c qemu-img: Print available options with -o ? 2009-06-06 18:38:57 +03:00
vpc.c qemu-img: Print available options with -o ? 2009-06-06 18:38:57 +03:00
vvfat.c vvfat: one more missing BlockDriver C99 initializer conversion 2009-05-28 02:14:56 -05:00