diff options
| author | Max Reitz <mreitz@redhat.com> | 2021-04-09 14:04:19 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2021-04-09 18:00:29 +0200 |
| commit | 00769414cd1044b823b65e66586e93bb79494441 (patch) | |
| tree | aaa6eda54e7311abb395b8e8aa9fdd5f0d6fbd91 /util/qemu-timer.c | |
| parent | c41f5b96ee73925c165036d59c4efa761826e800 (diff) | |
| download | focaccia-qemu-00769414cd1044b823b65e66586e93bb79494441.tar.gz focaccia-qemu-00769414cd1044b823b65e66586e93bb79494441.zip | |
mirror: Do not enter a paused job on completion
Currently, it is impossible to complete jobs on standby (i.e. paused ready jobs), but actually the only thing in mirror_complete() that does not work quite well with a paused job is the job_enter() at the end. If we make it conditional, this function works just fine even if the mirror job is paused. So technically this is a no-op, but obviously the intention is to accept block-job-complete even for jobs on standby, which we need this patch for first. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210409120422.144040-3-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions