• P
    block: introduce BLOCK_JOB_READY event · a66a2a36
    Paolo Bonzini 提交于
    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: NPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    a66a2a36
blockdev.c 34.7 KB