Re: [Qemu-devel] [PATCH v6 01/11] dump: Add argument to write_elfxx_notes

2014-01-06 Thread Laszlo Ersek
On 01/05/14 08:27, Qiao Nuohan wrote: 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 qiaonuo...@cn.fujitsu.com ---

Re: [Qemu-devel] [PATCH v6 01/11] dump: Add argument to write_elfxx_notes

2014-01-06 Thread Qiao Nuohan
On 01/07/2014 01:03 AM, Laszlo Ersek wrote: I assume the direct calls to fd_write_vmcore() (which we're not replacing here) will be substituted / abstracted later on in the series. Yes, patch 6 will reuse write_elf32_notes/wirte_elf64_notes, but write notes into buffer instead of vmcore

[Qemu-devel] [PATCH v6 01/11] dump: Add argument to write_elfxx_notes

2014-01-05 Thread Qiao Nuohan
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 qiaonuo...@cn.fujitsu.com --- dump.c | 16 1 files changed, 8