[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] block: check full backing filename when sea
Re: [Qemu-devel] [PATCH 1/1] block: check full backing filename when searching protocol filenames
Wed, 25 Jan 2017 19:24:48 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
On 25.01.2017 18:22, Jeff Cody wrote:
> In bdrv_find_backing_image(), if we are searching an image for a backing
> file that contains a protocol, we currently only compare unmodified
> However, some management software will change the backing filename to be
> a relative filename in a path. QEMU is able to handle this fine,
> because internally it will use path_combine to put together the full
> protocol URI.
> However, this can lead to an inability to match an image during a QAPI
> command that needs to use bdrv_find_backing_image() to find the image,
> when it is searched by the full URI.
> When searching for a protocol filename, if the straight comparison
> fails, this patch will also compare against the full backing filename to
> see if that is a match.
> Signed-off-by: Jeff Cody <address@hidden>
> block.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Thanks, applied to my block tree:
How much would you mind writing an iotest?
Description: OpenPGP digital signature