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

[libvirt] [PATCH] virsh dump should not be live



Live dumps are much less likely to produce usable cores. They also
trigger a Xen bug that crashes xend.

Signed-off-by: John Levon <john levon sun com>


Index: src/xend_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/xend_internal.c,v
retrieving revision 1.211
diff -u -r1.211 xend_internal.c
--- src/xend_internal.c	28 Aug 2008 11:59:07 -0000	1.211
+++ src/xend_internal.c	28 Aug 2008 14:10:45 -0000
@@ -3037,7 +3037,7 @@
     if (domain->id < 0)
         return(-1);
     return xend_op(domain->conn, domain->name, "op", "dump", "file", filename,
-                   "live", "1", "crash", "0", NULL);
+                   "live", "0", "crash", "0", NULL);
 }
 
 /**


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