]> git.proxmox.com Git - mirror_qemu.git/commit
dump: add API to write dump header
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>
Tue, 18 Feb 2014 06:11:32 +0000 (14:11 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 16:52:03 +0000 (11:52 -0500)
commit298f116827405f37dde10a2a6cbc75d20f9ba99c
tree669c8e6b3477593ae2232ed9f01745cb7ea1175c
parent7aad248d3596a1fb94778f2cd215f86a802b3abb
dump: add API to write dump header

the functions are used to write header of kdump-compressed format to vmcore.
Header of kdump-compressed format includes:
1. common header: DiskDumpHeader32 / DiskDumpHeader64
2. sub header: KdumpSubHeader32 / KdumpSubHeader64
3. extra information: only elf notes here

Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
dump.c
include/sysemu/dump.h