aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-10-21 12:03:56 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-11-03 11:41:49 +0000
commit761731b1805f6ef64eb615e5b82a0801db3cde78 (patch)
tree47ee44cc4f529564ab876b6e5038bdeb6b5fedff /migration.c
parent5b98db0ad3ad2919c71572085d104765bad6c658 (diff)
block: let backup blockjob run in BDS AioContext
The backup block job must run in the BlockDriverState AioContext so that it works with dataplane. The basics of acquiring the AioContext are easy in blockdev.c. The completion code in block/backup.c must call bdrv_unref() from the main loop. Use block_job_defer_to_main_loop() to achieve that. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1413889440-32577-8-git-send-email-stefanha@redhat.com
Diffstat (limited to 'migration.c')
0 files changed, 0 insertions, 0 deletions