Hi,

makdumpfile doesn't support -F option on xen.
The following patch support it.

Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>

Best Regards,

Akio Takebe

--- makedumpfile/makedumpfile.c.orig    2007-11-14 20:34:36.000000000 +0900
+++ makedumpfile/makedumpfile.c 2008-01-28 13:50:34.000000000 +0900
@@ -5803,12 +5803,22 @@ handle_xen()
        if (!create_dump_bitmap_xen())
                goto out;
 
+       if (info->flag_flatten) {
+               if (!write_start_flat_header())
+                       goto out;
+       }
+
        if (!write_elf_header())
                goto out;
 
        if (!write_elf_pages())
                goto out;
 
+       if (info->flag_flatten) {
+               if (!write_end_flat_header())
+                       goto out;
+       }
+
        if (!close_files_for_creating_dumpfile())
                goto out;
 


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to