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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/qemu/qemu_blockjob.c | 21 ++++++---------------
>  1 file changed, 6 insertions(+), 15 deletions(-)

Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx>

- Cole

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux