qed: Make qed_copy_from_backing_file() synchronous
commit0f7aa24d2ccfa8c6a1894c50e46c1f300d7e6db0
authorKevin Wolf <kwolf@redhat.com>
Mon, 14 Nov 2016 13:56:32 +0000 (14 14:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:14 +0000 (26 14:51 +0200)
tree1342d900e07ce15ecd2da7e10ad12c4fe0806e7d
parente85c5281426364f9c499cd4b71ec6dea20c5b4b2
qed: Make qed_copy_from_backing_file() synchronous

Note that this code is generally not running in coroutine context, so
this is an actual blocking synchronous operation. We'll fix this in a
moment.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qed.c