diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:38 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | 7e1efdf0a30faa2b3e560deafe16b8bd12c6f399 (patch) | |
tree | db7f6212902d6a222d75da0291a6a104a3101344 /cpu-exec.c | |
parent | dcd042282d855edf70df90b7d61d33b515320b7a (diff) |
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 <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions