]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Wire up SPICE client relocation with QEMU migration
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 17 Feb 2011 13:39:36 +0000 (13:39 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 16 May 2011 14:18:22 +0000 (15:18 +0100)
commitcc53b4c4442a71e128748162dab0be158a2beaf3
tree4d2f9cad747a817456c4e804cbfed9be4a195519
parent72de0d28196be4147648c571b4ef113bd5985fb8
Wire up SPICE client relocation with QEMU migration

Use the graphics information from the QEMU migration cookie to
issue a 'client_migrate_info' monitor command to QEMU. This causes
the SPICE client to automatically reconnect to the target host
when migration completes

* src/qemu/qemu_migration.c: Set data for SPICE client relocation
  before starting migration on src
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
  src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h,
  src/qemu/qemu_monitor_text.c, src/qemu/qemu_monitor_text.h: Add
  new qemuMonitorGraphicsRelocate() command
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_text.c
src/qemu/qemu_monitor_text.h