On 26.09.2012 11:17, Daniel P. Berrange wrote: > On Wed, Sep 26, 2012 at 11:11:51AM +0200, 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. >> --- >> diff to v3: >> -drop wait_for_spice argument in qemuMigrationUpdateJobStatus >> -refactor wait_for_spice computation >> -s/VIR_ERR_CONFIG_UNSUPPORTED/VIR_ERR_OPERATION_UNSUPPORTED >> >> src/qemu/qemu_capabilities.c | 3 ++ >> src/qemu/qemu_capabilities.h | 1 + >> src/qemu/qemu_command.c | 8 ++++++ >> src/qemu/qemu_migration.c | 19 ++++++++++++++- >> 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, 111 insertions(+), 1 deletions(-) > > ACK > > > Daniel > Thanks, pushed. Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list