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-02-12 21:21:38 -08:00
2015-02-06 16:11:38 +00:00
2015-02-16 15:07:16 +00:00
2015-02-02 16:55:11 +01:00
2015-02-16 15:07:18 +00:00
2014-09-29 14:55:27 -04:00
2015-02-05 17:16:14 +01:00