diff options
| author | Alberto Garcia | 2016-05-27 12:53:37 +0200 |
|---|---|---|
| committer | Max Reitz | 2016-06-16 15:20:37 +0200 |
| commit | f0f55deda2ac3c742d1dc67526d8834a50870285 (patch) | |
| tree | 2fece63a0194dec341144dac4736737d712c5493 /scripts | |
| parent | block: use the block job list in bdrv_drain_all() (diff) | |
| download | qemu-f0f55deda2ac3c742d1dc67526d8834a50870285.tar.gz qemu-f0f55deda2ac3c742d1dc67526d8834a50870285.tar.xz qemu-f0f55deda2ac3c742d1dc67526d8834a50870285.zip | |
block: use the block job list in qmp_query_block_jobs()
qmp_query_block_jobs() uses bdrv_next() to look for block jobs, but
this function can only find those in top-level BlockDriverStates.
This patch uses block_job_next() instead.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: a8b7e5497b7c1fa67c12fcceae1630d01c3b1f96.1464346103.git.berto@igalia.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
