qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/3 v4] Live migration without shared storage


From: lirans
Subject: [Qemu-devel] [PATCH 0/3 v4] Live migration without shared storage
Date: Mon, 12 Oct 2009 17:13:16 +0200

This series adds support for live migration without shared storage, means 
copy the storage while migrating. It was tested with KVM. Supports 2 ways 
to replicate the storage during migration:
 1. Complete copy of storage to destination 
 2. Assuming the storage is cow based, copy only the allocated 
    data, time of the migration will be linear with the amount of allocated 
    data (user responsibility to verify that the same backend file reside 
    on src and destination).

The code is being used by the Reservoir project: http://www.reservoir-fp7.eu/

Live migration will work as follows:
(qemu) migrate -d tcp:0:4444 # for ordinary live migration
(qemu) migrate -d blk tcp:0:4444 # for live migration with complete storage copy
(qemu) migrate -d blk inc tcp:0:4444 # for live migration with incremental 
storage copy, storage is cow based.

These patches addresses all previous comments.

Signed-off-by: Liran Schour <address@hidden>
---
 Makefile          |    1 +
 block-migration.c |  624 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 block-migration.h |   30 +++
 block.c           |   27 +++
 block.h           |    6 +-
 block_int.h       |    1 +
 buffered_file.c   |   10 +-
 hw/hw.h           |    9 +-
 migration-exec.c  |    9 +-
 migration-fd.c    |    7 +-
 migration-tcp.c   |    7 +-
 migration-unix.c  |    7 +-
 migration.c       |   21 ++-
 migration.h       |   20 ++-
 monitor.c         |   38 +++-
 qemu-monitor.hx   |   13 +-
 savevm.c          |   62 ++++--
 sysemu.h          |    2 +-
 vl.c              |    6 +-
 19 files changed, 851 insertions(+), 49 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]