• K
    job: Add job_transition_to_ready() · 2e1795b5
    Kevin Wolf 提交于
    The transition to the READY state was still performed in the BlockJob
    layer, in the same function that sent the BLOCK_JOB_READY QMP event.
    
    This patch brings the state transition to the Job layer and implements
    the QMP event using a notifier called from the Job layer, like we
    already do for other events related to state transitions.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    2e1795b5
mirror.c 44.2 KB