[PATCH] qemu_migration: Acquire correct job in qemuMigrationSrcIsAllowed

Jiri Denemark jdenemar at redhat.com
Fri Jul 22 10:34:19 UTC 2022


On Fri, Jul 22, 2022 at 12:22:54 +0200, Martin Kletzander wrote:
> Commit 62627524607f added the acquiring of a job, but it is not always
> VIR_ASYNC_JOB_MIGRATION_OUT, so the code fails when doing save or anything else.
> Correct the async job by passing it from the caller as another parameter.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> This will hopefully fix the integration tests that failed this morning:
> 
> https://gitlab.com/libvirt/libvirt/-/pipelines/594066714
> 
>  src/qemu/qemu_driver.c    | 8 ++++----
>  src/qemu/qemu_migration.c | 7 ++++---
>  src/qemu/qemu_migration.h | 1 +
>  src/qemu/qemu_snapshot.c  | 4 ++--
>  4 files changed, 11 insertions(+), 9 deletions(-)

Oops.

Reviewed-by: Jiri Denemark <jdenemar at redhat.com>


More information about the libvir-list mailing list