]> xenbits.xensource.com Git - libvirt.git/commit
Implement migration v3 protocol in QEMU driver
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Feb 2011 11:09:28 +0000 (11:09 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 16 May 2011 14:18:22 +0000 (15:18 +0100)
commit2d5caf7a254be718da8da99b64abdc2314d096ec
tree5cd793877f5563b4b42f2f3606a2cede02a4feac
parent636ee9267f1deb942be6216c8d32ea459b277b08
Implement migration v3 protocol in QEMU driver

Implement the v3 migration protocol, which has two extra
steps, 'begin' on the source host and 'confirm' on the
source host. All other methods also gain both input and
output cookies to allow bi-directional data passing at
all stages.

The QEMU peer2peer migration method gains another impl
to provide the v3 migration. This finally allows migration
cookies to work with tunnelled migration, which is required
for Spice seamless migration & the lock manager transfer

* src/qemu/qemu_driver.c: Wire up migrate v3 APIs
* src/qemu/qemu_migration.c, src/qemu/qemu_migration.h: Add
  begin & confirm methods, and peer2peer impl of v3
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h