Skip to content

QEMU-C-F: Userspace tool to filter guest OS memory from qemu coredump

Mahesh Salgaonkar qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [patch 0/3] QEMU-C-F: Userspace tool to filter guest OS memory from qemu coredump

Hi All,

Please find the patch series that implements qemu-core-filter, a userspace tool to filter out guest OS memory from qemu coredump.

The qemu-core-filter tool is a post-processing tool works offline on qemu coredumps. When qemu[-kvm] application crashes, it generates a huge coredump file that contains guest OS memory. This tool helps to reduce the size of core file (generated by qemu crash) by removing guest OS memory from original core file.

The tool requires qemu[-kvm] debug information to be able to identify and exclude guest OS memory regions from core file. The reason is debuginfo contains a symbol table that keeps the variable name to address mapping's. The qemu-core-filter tool uses this symbol table to locate a global variable 'ram_blocks' that has the Guest OS memory region mapping's.

When we ran it against a a qemu coredump of 570Mb size, it created ouput coredump file of size 42M.

Please review the patches and let me know your comments.

Thanks,
-Mahesh.

Signature · 1 line
Signed-off-by: Mahesh Salgaonkar <[email protected]>