• K
    job: Add job_event_*() · 139a9f02
    Kevin Wolf 提交于
    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: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    139a9f02
job.c 12.5 KB