[Patch] makedumpfile: support -F option on xen
Ken'ichi Ohmichi
oomichi at mxs.nes.nec.co.jp
Tue Jan 29 23:21:48 EST 2008
Hi Takebe-san,
Thank you for the patch.
I confirmed that your patch is right on x86_64 xen machine.
I will merge your patch into the next release.
Thanks
Ken'ichi Ohmichi
Akio Takebe wrote:
> Hi,
>
> makdumpfile doesn't support -F option on xen.
> The following patch support it.
>
> Signed-off-by: Akio Takebe <takebe_akio at 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;
>
>
More information about the kexec
mailing list