]> git.proxmox.com Git - mirror_qemu.git/commit - blockjob.c
job: Add Job.aio_context
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Apr 2018 11:49:33 +0000 (13:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:49 +0000 (14:30 +0200)
commit08be6fe26f6c76d900fc987f58d322b94bc4e248
treebd98a75c6e330ba806ea7517509e9c166f0be5fa
parentdaa7f2f9467bc5624f04f28d4b01b88f08c6589c
job: Add Job.aio_context

When block jobs need an AioContext, they just take it from their main
block node. Generic jobs don't have a main block node, so we need to
assign them an AioContext explicitly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
blockjob.c
include/qemu/job.h
job.c