qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: lirans@il.ibm.com
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/3 v3] Live migration without shared storage
Date: Thu, 17 Sep 2009 16:31:37 +0300	[thread overview]
Message-ID: <1253194297802-git-send-email-lirans@il.ibm.com> (raw)

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).

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

The patches are against qemu.git tree

 Makefile          |    1 +
 block-migration.c |   43 ++++++++++++-----------------------------
 block-migration.h |    2 +-
 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       |   20 +++++++++++++-----
 migration.h       |   20 ++++++++++++++----
 monitor.c         |   38 +++++++++++++++++++++++++++++-------
 qemu-monitor.hx   |    6 +++-
 savevm.c          |   54 +++++++++++++++++++++++++++++++++++++---------------
 sysemu.h          |    2 +-
 vl.c              |    6 ++++-
 19 files changed, 196 insertions(+), 79 deletions(-)

             reply	other threads:[~2009-09-17 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 13:31 lirans [this message]
2009-09-17 14:03 ` [Qemu-devel] Re: [PATCH 0/3 v3] Live migration without shared storage Jan Kiszka
2009-09-17 14:43   ` Liran Schour
2009-09-17 15:08     ` Jan Kiszka
2009-09-17 15:38   ` Kevin Wolf
2009-09-21  7:42     ` Liran Schour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253194297802-git-send-email-lirans@il.ibm.com \
    --to=lirans@il.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).