]> Git Repo - qemu.git/commit
blockjob: Add "ready" field
authorMax Reitz <[email protected]>
Fri, 24 Oct 2014 13:57:34 +0000 (15:57 +0200)
committerStefan Hajnoczi <[email protected]>
Mon, 3 Nov 2014 11:41:48 +0000 (11:41 +0000)
commitef6dbf1e46ebd1d41ab669df5bba0bbdec6bd374
treeb41e965b2dc886f42c9076fb8369402287c5134d
parent345f9e1b04ee18dcb1454dcec49781d5e06ecb60
blockjob: Add "ready" field

When a block job signals readiness, this is currently reported only
through QMP. If qemu wants to use block jobs for internal tasks, there
needs to be another way to correctly detect when a block job may be
completed.

For this reason, introduce a bool "ready" which is set when the block
job may be completed.

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Message-id: 1414159063[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
blockjob.c
include/block/blockjob.h
qapi/block-core.json
This page took 0.027191 seconds and 4 git commands to generate.