quorum: implement .bdrv_detach/attach_aio_context()
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 8 May 2014 14:34:46 +0000 (16:34 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Jun 2014 07:56:11 +0000 (09:56 +0200)
commite3625d3d6ae8029fc20262ac3848421ec281446f
treeafeee9e2242d810be542bd71a853541cb17d8b82
parenta8c868c386d4cbdd0fc0a9423c6683880f6e75e4
quorum: implement .bdrv_detach/attach_aio_context()

Implement .bdrv_detach/attach_aio_context() interfaces to propagate
detach/attach to BDRVQuorumState->bs[] children.  The block layer takes
care of ->file and ->backing_hd but doesn't know about our ->bs[]
BlockDriverStates, which is also part of the graph.

Reviewed-by: BenoƮt Canet <benoit.canet@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/quorum.c