WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH] fix live migration

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] fix live migration
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Wed, 6 Feb 2008 19:55:40 +0900
Delivery-date: Wed, 06 Feb 2008 03:01:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
In live migration, a domain is paused and *entire* memory is copied
after pre-copy phase.
(i.e. live migration is not live)

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

# HG changeset patch
# User Kouya Shimura <kouya@xxxxxxxxxxxxxx>
# Date 1202294163 -32400
# Node ID 4124413afb1d9841086a546fbba9eeca3eb3697d
# Parent  6b89a0f027c2b438d1f369cce0bc670cda1390d9
In live migration, a domain is paused and *entire* memory is copied
after pre-copy phase.
(i.e. live migration is not live)

diff -r 6b89a0f027c2 -r 4124413afb1d tools/libxc/ia64/xc_ia64_linux_save.c
--- a/tools/libxc/ia64/xc_ia64_linux_save.c     Wed Feb 06 19:21:45 2008 +0900
+++ b/tools/libxc/ia64/xc_ia64_linux_save.c     Wed Feb 06 19:36:03 2008 +0900
@@ -651,6 +651,9 @@ xc_domain_save(int xc_handle, int io_fd,
                     if (test_bit(N, to_skip) && test_bit(N, to_send))
                         skip_this_iter++;
                     if (test_bit(N, to_skip) || !test_bit(N, to_send))
+                        continue;
+                } else {
+                    if (!test_bit(N, to_send))
                         continue;
                 }
 
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>