]> git.proxmox.com Git - mirror_qemu.git/commit - dump/dump.c
kdump: set vmcoreinfo location
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 11 Sep 2017 16:59:27 +0000 (18:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Oct 2017 02:54:40 +0000 (05:54 +0300)
commit9ada575bbafaf6d3724a7f59df9da89776817cac
treee80854c509aa27f2a39dd7540a9afa32e1b8e4fb
parentd9feb51772b4ade9700c7fa54529327a6c8183a7
kdump: set vmcoreinfo location

kdump header provides offset and size of the vmcoreinfo content,
append it if available (skip the ELF note header).

crash-7.1.9 was the first version that started looking in the
vmcoreinfo data for phys_base instead of in the kdump_sub_header.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
dump.c