Re: [libvirt PATCH 57/80] qemu: Add support for 'resume' parameter of migrate QMP command

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

 



On Tue, May 10, 2022 at 17:21:18 +0200, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c    | 8 ++++++--
>  src/qemu/qemu_monitor.h      | 1 +
>  src/qemu/qemu_monitor_json.c | 2 ++
>  3 files changed, 9 insertions(+), 2 deletions(-)

[...]

> diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
> index df3fdfe4fb..ea2e001483 100644
> --- a/src/qemu/qemu_monitor_json.c
> +++ b/src/qemu/qemu_monitor_json.c
> @@ -3419,10 +3419,12 @@ int qemuMonitorJSONMigrate(qemuMonitor *mon,
>      bool detach = !!(flags & QEMU_MONITOR_MIGRATE_BACKGROUND);
>      bool blk = !!(flags & QEMU_MONITOR_MIGRATE_NON_SHARED_DISK);
>      bool inc = !!(flags & QEMU_MONITOR_MIGRATE_NON_SHARED_INC);
> +    bool resume = !!(flags & QEMU_MONITOR_MIGRATE_RESUME);
>      g_autoptr(virJSONValue) cmd = qemuMonitorJSONMakeCommand("migrate",
>                                                               "b:detach", detach,
>                                                               "b:blk", blk,
>                                                               "b:inc", inc,
> +                                                             "b:resume", resume,

Okay, resume is supported in qemu-3.1 already so we don't need "B:...".

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