Trying to use makedumpfile on a Xen Dom0 ELF file currently fails, but there are in fact only a few missing pieces. With the following two patches, I was able to produce a dump even with high dump levels (-d17 and -d31). Needless to say, this can reduce the size of Dom0 dumps considerably. Changes in v2: * Call get_machdep_info() after cache_init(), so it can use readmem(VADDR, ...) This now works for me after reverting commit ebe2fa3a. Petr Tesarik (2): Earlier initialization of dom0_mapnr Get Dom0 max_pfn using pfn_mfn_frame_list if max_pfn unavailable makedumpfile.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) -- 1.8.4.5