[libvirt] [PATCH v2 3/8] Added low-level API to qemu post-copy migration

Jiri Denemark jdenemar at redhat.com
Tue Oct 7 11:02:13 UTC 2014


On Tue, Sep 30, 2014 at 16:39:24 +0200, Cristian Klein wrote:
> Signed-off-by: Cristian Klein <cristian.klein at cs.umu.se>
> ---
>  src/qemu/qemu_monitor.c      | 24 ++++++++++++++++++++++--
>  src/qemu/qemu_monitor.h      |  4 ++++
>  src/qemu/qemu_monitor_json.c | 23 ++++++++++++++++++++++-
>  src/qemu/qemu_monitor_json.h |  1 +
>  4 files changed, 49 insertions(+), 3 deletions(-)
> 
> diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
> index 543384d..dbd854c 100644
> --- a/src/qemu/qemu_monitor.c
> +++ b/src/qemu/qemu_monitor.c
> @@ -117,11 +117,11 @@ VIR_ONCE_GLOBAL_INIT(qemuMonitor)
>  
>  VIR_ENUM_IMPL(qemuMonitorMigrationStatus,
>                QEMU_MONITOR_MIGRATION_STATUS_LAST,
> -              "inactive", "active", "completed", "failed", "cancelled", "setup")
> +              "inactive", "active", "completed", "failed", "cancelled", "setup", "postcopy-active")
>  
>  VIR_ENUM_IMPL(qemuMonitorMigrationCaps,
>                QEMU_MONITOR_MIGRATION_CAPS_LAST,
> -              "xbzrle", "auto-converge", "rdma-pin-all")
> +              "xbzrle", "auto-converge", "rdma-pin-all", "x-postcopy-ram")

As already mentioned, we don't want to support unstable QEMU interfaces
so we will have to wait with this series until the "x-" prefix is
removed in QEMU. Otherwise this patch looks good.

Jirka




More information about the libvir-list mailing list