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

[Xen-devel] Live Migration algorithm in Xen Unstable ; tracing pre-copying stage


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Rami Rosen <rosenrami@xxxxxxxxx>
  • Date: Thu, 8 Sep 2005 20:40:37 +0200
  • Delivery-date: Thu, 08 Sep 2005 18:38:33 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=klZDOESpcTX4nAlJOmjtYWD5DWQKbdkG7z34iYvAkb4fTl1vadsNQAOKXzMaLXt6qGtdBbXgxeEwPum+lusJy05qxhhjlUR+39w3QntzhXlUEdkZO8bNu+n2Rw/WIcpRevrctPrriD6H3timlMMXuTwqdOnKyvPqNT72qj+x+lU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

   I want to understand Migration and Live Migration in Xen and to trace the code
which implements it.

  I had read the "Live Migration of Virtual Machines" doc
from the  Architecture page of Xen WebSite.
http://www.cl.cam.ac.uk/netos/papers/2005-migration-nsdi-pre.pdf

 Two Migrations methods are being dealt with: Managed Migration and Self Migration.

The work of Managed Migration is done with daemons weheras the work of Self Migration is being done mostly on the OS which is being migrated.

I remeber I saw in some 2.0.* version an xfrd daemon which handled live migration (if I am not wrong). I assume that it was a implementation of Managed Migration.

In xen-unstable the xfrd it is removed.

I have two questions:

1) Is the live migration in xen-unstable implemented via Managed Migration
or Self Migration ? In case it is a Managed Migration - what is the daemon
who is managing this ?

2) Show me the code:
   As I understand , much of the live migration process is based on using
shadow pages and a dirty bitmap vector (shadow.c, shadow_guest32.c ,shadow_public in arch/x86 in the case of intel x386).

   Where is the migration implementation in Xen-unstable ? I mean , for a start, where is the code  for the pre-copying stage ,which is the first stage in migration,
and is used by both methods, Managed and Self Migration ?

Regards,
Rami Rosen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.