[libvirt] [PATCH v3] qemu: wait for SPICE to migrate

Michal Privoznik mprivozn at redhat.com
Tue Sep 25 08:35:25 UTC 2012


On 20.09.2012 13:29, Michal Privoznik wrote:
> Recently, there have been some improvements made to qemu so it
> supports seamless migration or something very close to it.
> However, it requires libvirt interaction. Once qemu is migrated,
> the SPICE server needs to send its internal state to the destination.
> Once it's done, it fires SPICE_MIGRATE_COMPLETED event and this
> fact is advertised in 'query-spice' output as well.
> We must not kill qemu until SPICE server finishes the transfer.
> ---
>  src/qemu/qemu_capabilities.c |    4 +++
>  src/qemu/qemu_capabilities.h |    1 +
>  src/qemu/qemu_command.c      |    8 ++++++
>  src/qemu/qemu_migration.c    |   33 ++++++++++++++++++++++++--
>  src/qemu/qemu_monitor.c      |   24 +++++++++++++++++++
>  src/qemu/qemu_monitor.h      |    2 +
>  src/qemu/qemu_monitor_json.c |   52 ++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_monitor_json.h |    3 ++
>  8 files changed, 124 insertions(+), 3 deletions(-)

ping?




More information about the libvir-list mailing list