On 2018-05-09 18:26, Kevin Wolf wrote: > 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: Kevin Wolf <kw...@redhat.com> > --- > include/block/blockjob.h | 9 +++++++++ > include/qemu/job.h | 18 ++++++++++++++++++ > blockjob.c | 42 ++++++++++++++++++++++++++++-------------- > job.c | 19 +++++++++++++++++++ > 4 files changed, 74 insertions(+), 14 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature