diff options
| author | Vladimir Sementsov-Ogievskiy | 2019-03-19 10:24:42 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2019-03-19 15:49:29 +0100 |
| commit | 8d9648cbf3ea60aad05fb10485ae6d2ff6ae587c (patch) | |
| tree | 55a50ebff631a8d0972f73d5c0342e06348abcc4 /block | |
| parent | qemu-iotests: Fix 232 for non-qcow2 (diff) | |
| download | qemu-8d9648cbf3ea60aad05fb10485ae6d2ff6ae587c.tar.gz qemu-8d9648cbf3ea60aad05fb10485ae6d2ff6ae587c.tar.xz qemu-8d9648cbf3ea60aad05fb10485ae6d2ff6ae587c.zip | |
blockjob: fix user pause in block_job_error_action
Job (especially mirror) may call block_job_error_action several
times before actual pause if it has several in-flight requests.
block_job_error_action will call job_pause more than once in this case,
which lead to following block-job-resume qmp command can't actually
resume the job.
Fix it by do not increase pause level in block_job_error_action if
user_paused already set.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
