block: Propagate AioContext change to all children
authorMax Reitz <mreitz@redhat.com>
Tue, 17 May 2016 11:38:04 +0000 (13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 May 2016 14:45:31 +0000 (16:45 +0200)
commitb97511c7bc88bc487cacbfab349eb6023ae4f49b
treea66bd28420c031273e74416a90f2eb923347dada
parent1f0c461b82d5ec2664ca0cfc9548f80da87a8f8a
block: Propagate AioContext change to all children

Instead of propagating any change of a BDS's AioContext only to its file
and backing children and letting driver-specific code do the rest, just
propagate it to all and drop the thus superfluous implementations of
bdrv_{at,de}tach_aio_context() in Quorum, blkverify and VMDK.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/blkverify.c
block/quorum.c
block/vmdk.c