[Patch] makedumpfile: support -F option on xen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
>  
> 



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux