]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockjob.c
block: introduce BLOCK_JOB_READY event
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Jul 2012 13:15:47 +0000 (15:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Oct 2012 08:26:19 +0000 (10:26 +0200)
commita66a2a368383e627b929bf42d1b972822491404b
treefcec5bb544b797dcb2e7b40929bf304311e0c86a
parentaeae883baf2377b714a41529f94905046fa058f3
block: introduce BLOCK_JOB_READY event

Even for jobs that need to be manually completed, management may want
to take care itself of the completion, not requiring the user to issue
a command to terminate the job.  In this case we want to avoid that
they poll us continuously, waiting for completion to become available.
Thus, add a new event that signals the phase switch and the availability
of the block-job-complete command.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
QMP/qmp-events.txt
blockdev.c
blockjob.c
blockjob.h
monitor.c
monitor.h
qapi-schema.json