vmdk: implement .bdrv_detach/attach_aio_context()
commitc75f3bdf46f74c9f1c199ace3d2b291e430dcda3
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 8 May 2014 14:34:54 +0000 (8 16:34 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Jun 2014 07:56:12 +0000 (4 09:56 +0200)
tree8f6c5e241c9c49bf44eba983a1a7e73d344d9ec4
parent2af0b2005669ee3572a19499c51a499114a8ec50
vmdk: implement .bdrv_detach/attach_aio_context()

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

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vmdk.c