<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<br>
I'm trying to do Auto Core Dump with compress file format for
dump_image_format (such as: bzip2) on Fedora Core 20, but the
generated dump image format is not "bzip2".<br>
<br>
<br>
<br>
Here are my steps:<br>
<br>
1. Prepare a running guest with following configuration in guest's
xml
<p># virsh dumpxml domU<br>
</p>
<domain type='kvm'
xmlns:qemu='<a class="moz-txt-link-freetext" href="http://libvirt.org/schemas/domain/qemu/1.0">http://libvirt.org/schemas/domain/qemu/1.0</a>'><br>
...<br>
<on_crash>coredump-destroy</on_crash><br>
<br>
<qemu:commandline><br>
<qemu:arg value='-device'/><br>
<qemu:arg value='pvpanic'/><br>
</qemu:commandline><br>
</domain>
<p><br>
2. Set following values in /etc/libvirt/qemu.conf<br>
</p>
<p> dump_image_format = "bzip2"<br>
auto_dump_path = "/var/lib/libvirt/qemu/dump"<br>
</p>
<p><br>
3. Restart libvirtd service<br>
</p>
<p>4. Crash the guest os with the following command in guest<br>
</p>
<p>#sync<br>
</p>
<p>#echo c >/proc/sysrq-trigger</p>
<p><br>
</p>
<p>5. Check the core dump file under "/var/lib/libvirt/qemu/dump"
with file command<br>
</p>
<p> The output for file command is: (not bzip2 compress format)</p>
<p> #file coreDumpFile<br>
</p>
<font color="#990000">ELF 64-bit LSB core file x86-64,
version 1 (SYSV), SVR4-style</font><br>
<br>
<br>
So, I want to confirm whether compress file format for
dump_image_format is supported by Auto Core Dump?<br>
<br>
<br>
Thanks.<br>
Zhengqin<br>
</body>
</html>