Skip to content
Snippets Groups Projects
  • Kevin Wolf's avatar
    139a9f02
    job: Add job_event_*() · 139a9f02
    Kevin Wolf authored
    
    Go through the Job layer in order to send QMP events. For the moment,
    these functions only call a notifier in the BlockJob layer that sends
    the existing commands.
    
    This uses notifiers rather than JobDriver callbacks because internal
    users of jobs won't receive QMP events, but might still be interested
    in getting notified for the events.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    139a9f02
    History
    job: Add job_event_*()
    Kevin Wolf authored
    
    Go through the Job layer in order to send QMP events. For the moment,
    these functions only call a notifier in the BlockJob layer that sends
    the existing commands.
    
    This uses notifiers rather than JobDriver callbacks because internal
    users of jobs won't receive QMP events, but might still be interested
    in getting notified for the events.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>