qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/3] block: Fix the use of protocols in backing file


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 0/3] block: Fix the use of protocols in backing files
Date: Tue, 30 Nov 2010 15:14:13 +0000

Anthony sent out a patch to make backing filenames that contain a protocol
work.  An issue with bdrv_find_protocol() was identified because its interface
makes it impossible to distinguish between filenames that start with "file:"
and those that have no "<protocol>:" at all.

This patch series solves the issue by introducing a path_has_protocol()
function to test whether or not a filename contains a protocol.  I tried
Kevin's suggestion of adding a new bdrv_find_protocol()-like interface with
more specific error returns but found that option more complicated than
path_has_protocol().

For details on Anthony's patch see http://patchwork.ozlabs.org/patch/69384/.




reply via email to

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