Re: [Qemu-devel] [PATCH 05/13 v7] dump: add API to write elf notes to buffer

2014-01-22 Thread Laszlo Ersek
On 01/17/14 08:46, qiaonuohan wrote: > the function can be used by write_elf32_notes/write_elf64_notes to write notes > to a buffer. If fd_write_vmcore is used, write_elf32_notes/write_elf64_notes > will write elf notes to vmcore directly. Instead, if buf_write_note is used, > elf notes will be wri

[Qemu-devel] [PATCH 05/13 v7] dump: add API to write elf notes to buffer

2014-01-16 Thread qiaonuohan
the function can be used by write_elf32_notes/write_elf64_notes to write notes to a buffer. If fd_write_vmcore is used, write_elf32_notes/write_elf64_notes will write elf notes to vmcore directly. Instead, if buf_write_note is used, elf notes will be written to opaque->note_buf at first. Signed-of