summaryrefslogtreecommitdiff
path: root/target-ppc/arch_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/arch_dump.c')
-rw-r--r--target-ppc/arch_dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-ppc/arch_dump.c b/target-ppc/arch_dump.c
index df1fd8c336..40282a1f50 100644
--- a/target-ppc/arch_dump.c
+++ b/target-ppc/arch_dump.c
@@ -220,6 +220,11 @@ int cpu_get_dump_info(ArchDumpInfo *info,
} else {
info->d_endian = ELFDATA2LSB;
}
+ /* 64KB is the max page size for pseries kernel */
+ if (strncmp(object_get_typename(qdev_get_machine()),
+ "pseries-", 8) == 0) {
+ info->page_size = (1U << 16);
+ }
return 0;
}