Max Reitz b65a5e12a4 block: Add Error parameter to bdrv_find_protocol()
The argument given to bdrv_find_protocol() is just a file name, which
makes it difficult for the caller to reconstruct what protocol
bdrv_find_protocol() was hoping to find. This patch adds an Error
parameter to that function to solve this issue.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1423162705-32065-4-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-02-16 15:07:18 +00:00
..
2015-01-13 11:47:56 +00:00
2015-02-16 15:07:18 +00:00
2015-02-06 17:24:21 +01:00
2015-02-16 14:36:03 +00:00
2015-02-16 14:36:03 +00:00
2014-12-10 10:31:19 +01:00
2015-02-06 17:24:21 +01:00
2014-12-12 13:16:56 +00:00
2015-02-16 15:07:17 +00:00