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

John Levon levon at movementarian.org
Thu Aug 28 14:12:06 UTC 2008


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 at 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);
 }
 
 /**




More information about the libvir-list mailing list