diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:39 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | 9d94020bc65485fe03a4acabd8559b682b193d07 (patch) | |
tree | 43c53fec489ba6d63ee51abe410864e898f196b4 /hw/timer/sh_timer.c | |
parent | 7e1efdf0a30faa2b3e560deafe16b8bd12c6f399 (diff) | |
download | qemu-9d94020bc65485fe03a4acabd8559b682b193d07.zip |
blkverify: implement .bdrv_detach/attach_aio_context()
Drop the assumption that we're using the main AioContext. Convert
qemu_bh_new() to aio_bh_new() and qemu_aio_wait() to aio_poll() so we
use the BlockDriverState's AioContext.
Implement .bdrv_detach/attach_aio_context() interfaces to propagate
detach/attach to BDRVBlkverifyState->test_file. The block layer takes
care of ->file and ->backing_hd but doesn't know about our ->test_file
BlockDriverState, which is also part of the graph.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/timer/sh_timer.c')
0 files changed, 0 insertions, 0 deletions