Re: [libvirt PATCH 58/80] qemu: Implement VIR_MIGRATE_POSTCOPY_RESUME for Perform phase

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

 



On Tue, May 10, 2022 at 17:21:19 +0200, Jiri Denemark wrote:
> It just calls migrate QMP command with resume=true without having to
> worry about migration capabilities or parameters, storage migration,
> etc. since everything has already been done in the normal Perform phase.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 110 ++++++++++++++++++++++++++++++++++++--
>  1 file changed, 106 insertions(+), 4 deletions(-)
> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 30c8dbd954..29be797d78 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -4857,6 +4857,51 @@ qemuMigrationSrcRun(virQEMUDriver *driver,
>      goto error;
>  }
>  
> +
> +static int
> +qemuMigrationSrcResume(virQEMUDriver *driver,

'driver' is redundant.

> +                       virDomainObj *vm,
> +                       const char *cookiein,

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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