From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: kexec-ml <kexec@lists.infradead.org>,
Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Subject: [Patch] makedumpfile: support -F option on xen
Date: Tue, 29 Jan 2008 22:20:11 +0900 [thread overview]
Message-ID: <94C86279ACDA80takebe_akio@jp.fujitsu.com> (raw)
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
next reply other threads:[~2008-01-29 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 13:20 Akio Takebe [this message]
2008-01-30 4:21 ` [Patch] makedumpfile: support -F option on xen Ken'ichi Ohmichi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=94C86279ACDA80takebe_akio@jp.fujitsu.com \
--to=takebe_akio@jp.fujitsu.com \
--cc=kexec@lists.infradead.org \
--cc=oomichi@mxs.nes.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox