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
|