diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-03-09 13:18:14 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-03-19 10:15:06 +0100 |
commit | e21577707152c10017dcf4d3340e83b100057355 (patch) | |
tree | 2830b54dc4adf144c0539232d581a253a43db33f /qemu-img-cmds.hx | |
parent | 729222af149db3cfaaa5ef1c0773b5c632b7dbee (diff) | |
download | qemu-e21577707152c10017dcf4d3340e83b100057355.zip |
storage-daemon: Call job_cancel_sync_all() on shutdown
bdrv_close_all() asserts that no jobs are running any more, so we need
to cancel all jobs first to avoid failing the assertion.
Fixes: b55a3c8860b763b62b2cc2f4a6f55379977bbde5
Reported-by: Nini Gu <ngu@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210309121814.31078-1-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions