[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rev5: support colon in filenames
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] rev5: support colon in filenames |
Date: |
Wed, 15 Jul 2009 18:04:11 +0300 |
On 7/15/09, Ram Pai <address@hidden> wrote:
> 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".
> --- a/block/raw-posix.c
> +++ b/block/raw-posix.c
> +static int qemu_open(const char *filename, int flags, ...)
> --- a/block/raw-win32.c
> +++ b/block/raw-win32.c
> + fd = qemu_open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
I bet this won't compile on win32.
Instead of this (IMHO doomed) escape approach, maybe the filename
parameter could be specified as the next argument, for example:
-hda format=qcow2,blah,blah,filename_is_next_arg -hda "filename with
funky characters like ',' ':' & '!'"
- Re: [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, (continued)
- Re: [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Jamie Lokier, 2009/07/15
- Re: [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Ram Pai, 2009/07/15
- [Qemu-devel] qcow2 relative paths (was: [PATCH] rev5: support colon in filenames), Jamie Lokier, 2009/07/15
- [Qemu-devel] Re: qcow2 relative paths, Jan Kiszka, 2009/07/15
- [Qemu-devel] Re: qcow2 relative paths (was: [PATCH] rev5: support colon in filenames), Ram Pai, 2009/07/15
- [Qemu-devel] Re: qcow2 relative paths, Kevin Wolf, 2009/07/16
- [Qemu-devel] Re: qcow2 relative paths, Ram Pai, 2009/07/16
- [Qemu-devel] [PATCH] rev6: support colon in filenames, Ram Pai, 2009/07/16
- [Qemu-devel] [PATCH] rev7: support colon in filenames, Ram Pai, 2009/07/17
- [Qemu-devel] Re: [PATCH] rev7: support colon in filenames, Kevin Wolf, 2009/07/21
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames,
Blue Swirl <=
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Anthony Liguori, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Blue Swirl, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Anthony Liguori, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Kevin Wolf, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Michael S. Tsirkin, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Amit Shah, 2009/07/16
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Markus Armbruster, 2009/07/16
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Anthony Liguori, 2009/07/16
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Gerd Hoffmann, 2009/07/16
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Gerd Hoffmann, 2009/07/16