diff options
| author | Alberto Garcia | 2016-07-05 16:28:54 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-07-13 13:26:02 +0200 |
| commit | ffb1f10cd1118393627e1bd2dad0a68152d2e539 (patch) | |
| tree | 6bc5ce3d7c06bb0f80324b0b696050e908c8093c /blockdev.c | |
| parent | blockjob: Update description of the 'id' field (diff) | |
| download | qemu-ffb1f10cd1118393627e1bd2dad0a68152d2e539.tar.gz qemu-ffb1f10cd1118393627e1bd2dad0a68152d2e539.tar.xz qemu-ffb1f10cd1118393627e1bd2dad0a68152d2e539.zip | |
blockjob: Add block_job_get()
Currently the way to look for a specific block job is to iterate the
list manually using block_job_next().
Since we want to be able to identify a job primarily by its ID it
makes sense to have a function that does just that.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
