diff options
| author | Kevin Wolf | 2018-04-20 17:00:29 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-05-23 14:30:50 +0200 |
| commit | b69f777dd9ba992fdd35828a90eefcd88c0ec332 (patch) | |
| tree | 17a25005638cf2c9b8317751249374ccf060ce7f /blockdev.c | |
| parent | job: Convert block_job_cancel_async() to Job (diff) | |
| download | qemu-b69f777dd9ba992fdd35828a90eefcd88c0ec332.tar.gz qemu-b69f777dd9ba992fdd35828a90eefcd88c0ec332.tar.xz qemu-b69f777dd9ba992fdd35828a90eefcd88c0ec332.zip | |
job: Add job_drain()
block_job_drain() contains a blk_drain() call which cannot be moved to
Job, so add a new JobDriver callback JobDriver.drain which has a common
implementation for all BlockJobs. In addition to this we keep the
existing BlockJobDriver.drain callback that is called by the common
drain implementation for all block jobs.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
