Re: [Qemu-devel] [PATCH 4/7] dump: add vmcoreinfo ELF note

2017-07-06 Thread Laszlo Ersek
On 07/05/17 23:52, Marc-André Lureau wrote: > Hi > > On Wed, Jul 5, 2017 at 1:48 AM, Laszlo Ersek wrote: >> On 06/29/17 15:23, Marc-André Lureau wrote: >>> @@ -258,6 +280,8 @@ static void write_elf64_notes(WriteCoreDumpFunction f, >>> DumpState *s, >>> return;

Re: [Qemu-devel] [PATCH 4/7] dump: add vmcoreinfo ELF note

2017-07-05 Thread Marc-André Lureau
Hi On Wed, Jul 5, 2017 at 1:48 AM, Laszlo Ersek wrote: > On 06/29/17 15:23, Marc-André Lureau wrote: >> Read the vmcoreinfo ELF PT_NOTE from guest memory when vmcoreinfo >> device provides the location, and write it as an ELF note in the dump. >> >> There are now 2 possible

Re: [Qemu-devel] [PATCH 4/7] dump: add vmcoreinfo ELF note

2017-07-04 Thread Laszlo Ersek
On 06/29/17 15:23, Marc-André Lureau wrote: > Read the vmcoreinfo ELF PT_NOTE from guest memory when vmcoreinfo > device provides the location, and write it as an ELF note in the dump. > > There are now 2 possible sources of phys_base information. > > (1) arch guessed value from

[Qemu-devel] [PATCH 4/7] dump: add vmcoreinfo ELF note

2017-06-29 Thread Marc-André Lureau
Read the vmcoreinfo ELF PT_NOTE from guest memory when vmcoreinfo device provides the location, and write it as an ELF note in the dump. There are now 2 possible sources of phys_base information. (1) arch guessed value from arch_dump_info_get() (2) vmcoreinfo ELF note NUMBER(phys_base)= field