job: add .cancel handler for the driver
commit9820933b57b24c21a509680650f669123651b60d
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 5 Feb 2021 16:37:14 +0000 (5 19:37 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 12 Feb 2021 17:23:19 +0000 (12 11:23 -0600)
tree880a422fa859d5566eccd39103ec93f515cf6c76
parent3fc1ec3725a92268cb896e7fd82b4b4b4718203b
job: add .cancel handler for the driver

To be used in mirror in the following commit to cancel in-flight io on
target to not waste the time.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210205163720.887197-5-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
include/qemu/job.h
job.c