qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] block: Don't parse 'filename' option


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 1/3] block: Don't parse 'filename' option
Date: Fri, 04 Apr 2014 15:45:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04.04.2014 14:03, Kevin Wolf wrote:
When using the QDict option 'filename', it is supposed to be interpreted
literally. The code did correctly avoid guessing the protocol from any
string before the first colon, but it still called bdrv_parse_filename()
which would, for example, incorrectly remove a 'file:' prefix in the
raw-posix driver.

Signed-off-by: Kevin Wolf <address@hidden>
---
  block.c                    |  8 ++++----
  tests/qemu-iotests/051     |  4 ++++
  tests/qemu-iotests/051.out | 11 +++++++++++
  3 files changed, 19 insertions(+), 4 deletions(-)

Reviewed-by: Max Reitz <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]