Rami Rosen
2005-Sep-08 18:40 UTC
[Xen-devel] Live Migration algorithm in Xen Unstable ; tracing pre-copying stage
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@lists.xensource.com http://lists.xensource.com/xen-devel
Jacob Gorm Hansen
2005-Sep-09 08:14 UTC
Re: [Xen-devel] Live Migration algorithm in Xen Unstable ; tracing pre-copying stage
Rami Rosen wrote:> 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.Hi, I am currently rewriting self-migration in Linux for Xen 3. Right now it is at a stage where it can live-checkpoint itself to disk, and resume from the checkpoint with my cstrap bootloader. I will post the code when it is ready. The managed migration is (if it works right now) in the normal Xen tree. Jacob _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel