[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 24/42] job: Add job_event_*()
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH 24/42] job: Add job_event_*() |
Date: |
Mon, 14 May 2018 20:09:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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 <address@hidden>
> ---
> 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 <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 23/42] blockjob: Split block_job_event_pending(), (continued)
- [Qemu-devel] [PATCH 19/42] job: Add job_sleep_ns(), Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 20/42] job: Move pause/resume functions to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 22/42] job: Move BlockJobCreateFlags to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 18/42] job: Move coroutine and related code to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 24/42] job: Add job_event_*(), Kevin Wolf, 2018/05/09
- Re: [Qemu-devel] [PATCH 24/42] job: Add job_event_*(),
Max Reitz <=
- [Qemu-devel] [PATCH 26/42] job: Convert block_job_cancel_async() to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 25/42] job: Move single job finalisation to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 27/42] job: Add job_drain(), Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 28/42] job: Move .complete callback to Job, Kevin Wolf, 2018/05/09
- [Qemu-devel] [PATCH 29/42] job: Move job_finish_sync() to Job, Kevin Wolf, 2018/05/09