]> git.proxmox.com Git - mirror_qemu.git/commit - blockjob.c
blockjobs: add commit, abort, clean helpers
authorJohn Snow <jsnow@redhat.com>
Sat, 10 Mar 2018 08:27:38 +0000 (03:27 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 Mar 2018 11:01:24 +0000 (12:01 +0100)
commit43628d9336e832c07dc964433bdfaee44c49e5ac
treee7b00705e7298c2e7725556d7e76e2d5f5ce88c7
parent35d6b368f2fcc52de01773b80246bfbe55211903
blockjobs: add commit, abort, clean helpers

The completed_single function is getting a little mucked up with
checking to see which callbacks exist, so let's factor them out.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockjob.c