]> git.ipfire.org Git - thirdparty/qemu.git/commit
dump: add argument to write_elfxx_notes
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>
Tue, 18 Feb 2014 06:11:26 +0000 (14:11 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 16:49:02 +0000 (11:49 -0500)
commit6a519918b3f666759e20bcd0bb88378f3e4ffb57
treec347ceeaece9af4857d7514f780dfeb8b8a894d3
parentb5ba1cc6260917926781fb79fbb05d53bf586d53
dump: add argument to write_elfxx_notes

write_elf32_notes/wirte_elf64_notes use fd_write_vmcore to write elf notes to
vmcore. Adding parameter "WriteCoreDumpFunction f" makes it available to choose
the method of writing elf notes

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