Skip to content
  • Kevin Wolf's avatar
    2e1795b5
    job: Add job_transition_to_ready() · 2e1795b5
    Kevin Wolf authored
    
    
    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: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    2e1795b5
    job: Add job_transition_to_ready()
    Kevin Wolf authored
    
    
    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: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Loading