]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
block: Cancel job in bdrv_close_all() callers
authorKevin Wolf <kwolf@redhat.com>
Wed, 16 May 2018 11:46:37 +0000 (13:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:51 +0000 (14:30 +0200)
commitb3b5299d58bce4366c647af40374e6b063f371eb
tree75b11daff436035b154a25cbb4fb61908c47ca44
parent3d70ff53b6bf90d9eec6f97024ec9895f6799d9e
block: Cancel job in bdrv_close_all() callers

Now that we cancel all jobs and not only block jobs on shutdown, doing
that in bdrv_close_all() isn't really appropriate any more. Move the
job_cancel_sync_all() call to the callers, and only assert that there
are no job running in bdrv_close_all().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
qemu-nbd.c
vl.c