block: Fix the use of protocols in backing files
commitdf2dbb4a508ebea7bcacff3f07caecbae969d528
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 2 Dec 2010 16:54:13 +0000 (2 16:54 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:10:59 +0000 (17 16:10 +0100)
treef4351fb996f7b48d89d97202bdc95f4dca5b8953
parent9e0b22f4f2c4122bb3544bb44fb7ce2fd7964c12
block: Fix the use of protocols in backing files

Backing filenames may contain a protocol.  The code currently doesn't
consider this case and produces filenames that embed "<protocol>:".
Don't combine filenames if the backing filename contains a protocol.

Based on an earlier patch by Anthony Liguori <aliguori@us.ibm.com>.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c