[libvirt] [PATCH 07/10] qemu: blockjob: Don't stop processing the finished job early

Cole Robinson crobinso at redhat.com
Tue Nov 26 20:46:45 UTC 2019


On 11/26/19 10:17 AM, Peter Krempa wrote:
> Both failure to refresh and to dismiss the job are very unlikely but if
> they happen there's not much we can do about the blockjob.
> 
> The concluded job handlers treat it as if the job failed if we don't
> update the state to 'QEMU_BLOCKJOB_STATE_COMPLETED' which is probably
> the safest thing to do here.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_blockjob.c | 21 ++++++---------------
>  1 file changed, 6 insertions(+), 15 deletions(-)

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list