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

[Xen-devel] [PATCH 7 of 9] tools/libxc: print stats if migration is aborted

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1364481367 -3600
# Node ID 82ff5fb38a092a4b162da90ad0b4d295f18ace13
# Parent  586d440c496f2f873bb2bd702032d6cc37ffdf54
tools/libxc: print stats if migration is aborted

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 586d440c496f -r 82ff5fb38a09 tools/libxc/xc_domain_save.c
--- a/tools/libxc/xc_domain_save.c
+++ b/tools/libxc/xc_domain_save.c
@@ -1538,6 +1538,7 @@ int xc_domain_save(xc_interface *xch, in
                     ERROR("Live migration aborted, as requested. (guest too 
                      " total_sent %lu iter %d, max_iters %u max_factor %u",
                       total_sent, iter, max_iters, max_factor);
+                    print_stats(xch, dom, sent_this_iter, &time_stats, 
&shadow_stats, 1);
                     rc = 1;
                     goto out;

Xen-devel mailing list



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