[libvirt] [PATCH 00/10] Rollback migration when libvirtd restarts

Jiri Denemark jdenemar at redhat.com
Tue Jul 19 00:27:29 UTC 2011

This is the rest of the original 19 patch series updated with some bugfixes
and rebased on current master, which is also available at


I didn't manage to run this through the libvirt-tck migration test but I did
some additional testing with the following combinations of libvirt (current
contains this series):

    source          destination     client
    current         current         current
    current         current         0.9.2-1.el6
    current         0.9.2-2.fc15    current
    0.9.2-2.fc15    current         0.9.2-1.el6

In all combinations I did
    - normal migration from src to dst
    - normal migration back
    - p2p migration from src to dst
    - p2p migration back

To test failure recovery, I aborted the migration or libvirtd deamons at
various places.

All this was done with a single running domain without restarting it.

Jiri Denemark (10):
  qemu: Implement migration job phases
  qemu: Migration job on destination daemon
  qemu: Migration job on source daemon
  qemu: Recover from interrupted migration
  qemu: Remove special case for virDomainGetBlockInfo
  qemu: Remove special case for virDomainBlockStats
  qemu: Remove special case for virDomainMigrateSetMaxSpeed
  qemu: Remove special case for virDomainMigrateSetMaxDowntime
  qemu: Remove special case for virDomainSuspend
  qemu: Remove special case for virDomainAbortJob

 include/libvirt/libvirt.h.in |    3 +
 src/libvirt.c                |   27 ++-
 src/libvirt_internal.h       |    6 +
 src/qemu/MIGRATION.txt       |   55 ++++
 src/qemu/qemu_domain.c       |   18 +-
 src/qemu/qemu_domain.h       |   31 +--
 src/qemu/qemu_driver.c       |  285 ++++++++++++---------
 src/qemu/qemu_migration.c    |  574 ++++++++++++++++++++++++------------------
 src/qemu/qemu_migration.h    |   40 +++-
 src/qemu/qemu_process.c      |  121 +++++++++-
 10 files changed, 750 insertions(+), 410 deletions(-)
 create mode 100644 src/qemu/MIGRATION.txt


More information about the libvir-list mailing list