diff options
| author | Alberto Garcia | 2016-05-27 12:53:36 +0200 |
|---|---|---|
| committer | Max Reitz | 2016-06-16 15:20:37 +0200 |
| commit | eb1364ceac3d62f69701d00383b3052a9bdb0df7 (patch) | |
| tree | 9a40d0c4008deda913847ffb5866401ece37fdcf /scripts | |
| parent | block: Fix snapshot=on with aio=native (diff) | |
| download | qemu-eb1364ceac3d62f69701d00383b3052a9bdb0df7.tar.gz qemu-eb1364ceac3d62f69701d00383b3052a9bdb0df7.tar.xz qemu-eb1364ceac3d62f69701d00383b3052a9bdb0df7.zip | |
block: use the block job list in bdrv_drain_all()
bdrv_drain_all() pauses all block jobs by using bdrv_next() to iterate
over all top-level BlockDriverStates. Therefore the code is unable to
find block jobs in other nodes.
This patch uses block_job_next() to iterate over all block jobs.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 55ee7d7d4a65c28aa1a1b28823897ef326f328e2.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
