stream: Use BlockBackend for I/O
commit03e35d820d18f23606b4cc821a36cda1f7936170
authorKevin Wolf <kwolf@redhat.com>
Tue, 12 Apr 2016 13:15:49 +0000 (12 15:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 May 2016 17:04:21 +0000 (25 19:04 +0200)
treea32227908a491609d7a0535ba847d4b2e31b23f7
parent1e98fefd95ff604b48fe3ea71825449c187a7dd7
stream: Use BlockBackend for I/O

This changes the streaming block job to use the job's BlockBackend for
performing the COR reads. job->bs isn't used by the streaming code any
more afterwards.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/io.c
block/stream.c
include/block/block.h
trace-events