]> Git Repo - qemu.git/commit
blkdebug: use BlockDriverState's AioContext
authorStefan Hajnoczi <[email protected]>
Thu, 8 May 2014 14:34:38 +0000 (16:34 +0200)
committerStefan Hajnoczi <[email protected]>
Wed, 4 Jun 2014 07:56:11 +0000 (09:56 +0200)
commit7e1efdf0a30faa2b3e560deafe16b8bd12c6f399
treedb7f6212902d6a222d75da0291a6a104a3101344
parentdcd042282d855edf70df90b7d61d33b515320b7a
blkdebug: use BlockDriverState's AioContext

Drop the assumption that we're using the main AioContext.  Convert
qemu_bh_new() to aio_bh_new() so we use the BlockDriverState's
AioContext.

The .bdrv_detach_aio_context() and .bdrv_attach_aio_context() interfaces
are not needed since no fd handlers, timers, or BHs stay registered when
requests have been drained.

Cc: Kevin Wolf <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/blkdebug.c
This page took 0.021742 seconds and 4 git commands to generate.