Home
last modified time | relevance | path

Searched hist:"3 d948cdf3760b52238038626a7ffa7d30913060b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblockdev.cdiff 3d948cdf3760b52238038626a7ffa7d30913060b Tue Oct 21 06:03:50 CDT 2014 Stefan Hajnoczi <stefanha@redhat.com> block: acquire AioContext in generic blockjob QMP commands

block-job-set-speed, block-job-cancel, block-job-pause,
block-job-resume, and block-job-complete must acquire the
BlockDriverState AioContext so that it is safe to access bs.

At the moment bs->job is always NULL when dataplane is active because op
blockers prevent blockjobs from starting. Once the rest of the blockjob
API has been made aware of AioContext we can drop the op blocker.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1413889440-32577-2-git-send-email-stefanha@redhat.com