Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] makedumpfile: support -F option on xen
@ 2008-01-29 13:20 Akio Takebe
  2008-01-30  4:21 ` Ken'ichi Ohmichi
  0 siblings, 1 reply; 2+ messages in thread
From: Akio Takebe @ 2008-01-29 13:20 UTC (permalink / raw)
  To: kexec-ml, Ken'ichi Ohmichi

Hi,

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

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>

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
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-30  4:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 13:20 [Patch] makedumpfile: support -F option on xen Akio Takebe
2008-01-30  4:21 ` Ken'ichi Ohmichi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox