On 07/05/2014 11:47 AM, Max Reitz wrote:
> 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 <mre...@redhat.com>
> ---
>  blockjob.c               | 3 +++
>  include/block/blockjob.h | 5 +++++
>  qapi/block-core.json     | 4 +++-
>  3 files changed, 11 insertions(+), 1 deletion(-)
> 

> +++ b/qapi/block-core.json
> @@ -505,12 +505,14 @@
>  #
>  # @io-status: the status of the job (since 1.3)
>  #
> +# @ready: true if the job may be completed (since 2.1)

Isn't this 2.2 now, or are you still shooting for calling this a bug fix
in 2.1 hard freeze?

Depending on the answer,
Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to