[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: Don't parse protocol from file.filename
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] block: Don't parse protocol from file.filename |
Date: |
Tue, 16 Jul 2013 13:58:55 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jul 10, 2013 at 03:51:13PM +0200, Kevin Wolf wrote:
> One of the major reasons for doing something new for -blockdev and
> blockdev-add was that the old block layer code parses filenames instead
> of just taking them literally. So we should really leave it untouched
> when it's passing using the new interfaces (like -drive
> file.filename=...).
>
> This allows opening relative file names that contain a colon.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block.c | 17 ++++++++++++-----
> block/sheepdog.c | 2 +-
> include/block/block.h | 3 ++-
> qemu-img.c | 4 ++--
> tests/qemu-iotests/051 | 12 ++++++++++++
> tests/qemu-iotests/051.out | 14 ++++++++++++++
> 6 files changed, 43 insertions(+), 9 deletions(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan