[libvirt PATCH 1/2] qemu: Always restore post-copy migration job on reconnect

Peter Krempa pkrempa at redhat.com
Mon Nov 21 10:40:59 UTC 2022


On Fri, Nov 18, 2022 at 16:37:21 +0100, Jiri Denemark wrote:
> We need the restored job even in case the migration already finished
> even though we will stop it just a few lines below as the functions we
> call in between require an existing migration job.
> 
> This fixes a crash on reconnect when post-copy migration finished while
> the daemon was not running.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_process.c | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list