On 05/12/2011 10:04 AM, Daniel P. Berrange wrote:
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 | 316 +++++++++++++++++++++++++++++++++++++++-
src/qemu/qemu_migration.c | 348 +++++++++++++++++++++++++++++++++++++++++++--
src/qemu/qemu_migration.h | 17 ++-
3 files changed, 657 insertions(+), 24 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org