summaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-05-08 16:34:39 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-04 09:56:11 +0200
commit9d94020bc65485fe03a4acabd8559b682b193d07 (patch)
tree43c53fec489ba6d63ee51abe410864e898f196b4 /hw/timer
parent7e1efdf0a30faa2b3e560deafe16b8bd12c6f399 (diff)
downloadqemu-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')
0 files changed, 0 insertions, 0 deletions