From b6e05aa473b52e049654fae834453232e6b6e798 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Mon, 11 Jan 2016 20:56:21 +0100 Subject: dump: allow target to set the physical base crash assumes the physical base in the kdump subheader of makedumpfile formatted dumps is correct. Zero is not correct for all architectures, so allow it to be changed. (No functional change.) Signed-off-by: Andrew Jones Reviewed-by: Peter Maydell Message-id: 1452542185-10914-5-git-send-email-drjones@redhat.com Signed-off-by: Peter Maydell --- include/sysemu/dump-arch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sysemu/dump-arch.h') diff --git a/include/sysemu/dump-arch.h b/include/sysemu/dump-arch.h index 43358396ea..e25b02e990 100644 --- a/include/sysemu/dump-arch.h +++ b/include/sysemu/dump-arch.h @@ -20,6 +20,7 @@ typedef struct ArchDumpInfo { int d_class; /* ELFCLASS32 or ELFCLASS64 */ uint32_t page_size; /* The target's page size. If it's variable and * unknown, then this should be the maximum. */ + uint64_t phys_base; /* The target's physmem base. */ } ArchDumpInfo; struct GuestPhysBlockList; /* memory_mapping.h */ -- cgit v1.2.3