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

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

 



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@xxxxxxx>


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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]