qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] block: Fix the use of protocols in backing files
@ 2010-11-30 15:14 Stefan Hajnoczi
  2010-11-30 15:14 ` [Qemu-devel] [PATCH 1/3] block: Make bdrv_create_file() ':' handling consistent Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2010-11-30 15:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Anthony Liguori

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/.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-09 10:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 15:14 [Qemu-devel] [PATCH 0/3] block: Fix the use of protocols in backing files Stefan Hajnoczi
2010-11-30 15:14 ` [Qemu-devel] [PATCH 1/3] block: Make bdrv_create_file() ':' handling consistent Stefan Hajnoczi
2010-11-30 15:14 ` [Qemu-devel] [PATCH 2/3] block: Introduce path_has_protocol() function Stefan Hajnoczi
2010-12-09 10:59   ` [Qemu-devel] " Kevin Wolf
2010-11-30 15:14 ` [Qemu-devel] [PATCH 3/3] block: Fix the use of protocols in backing files Stefan Hajnoczi
2010-12-02 14:31   ` [Qemu-devel] " Kevin Wolf
2010-12-02 15:48     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).