mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
6f82c5792a
Since DASD standalone dumper does not support non-extended s390 dump format for years, drop zgetdump support of non-extended s390 single volume DASD dump-tool: - Merge dt_390sv_ext.c and dt_s390sv.c counterparts. - Update DT vector of supported dump tools removing dt_s390sv entry and keeping dt_s390sv_ext entry for s390 single volume extended dump tool. - Remove dt_s390sv.c source and update the Makefile accordingly. - Remove magic constants relevant to non-extended s390 single volume DASD dumper. - Drop s390 single volume DASD dumper version 5 in df_s390_dumper_read(). Note: We still need support of non-extended s390 dump format since such output dump files can be produced by 'zgetdump -f s390' via dfo_s390. Thus, both dfi_s390 and dfi_s390_ext DFI vector entries remain in order to process s390 dumps files as well as s390_ext dumps on the DASD partition. Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
46 lines
926 B
C
46 lines
926 B
C
/*
|
|
* zgetdump - Tool for copying and converting System z dumps
|
|
*
|
|
* Dump tool info generic functions
|
|
*
|
|
* Copyright IBM Corp. 2001, 2017
|
|
*
|
|
* s390-tools is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*/
|
|
|
|
#ifndef DT_H
|
|
#define DT_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "dfi.h"
|
|
|
|
#define DUMP_EXTENDED true
|
|
#define DUMP_NON_EXTENDED false
|
|
|
|
struct dt {
|
|
const char *desc;
|
|
int (*init)(void);
|
|
void (*info)(void);
|
|
};
|
|
|
|
void dt_init(void);
|
|
void dt_info_print(void);
|
|
void dt_arch_set(enum dfi_arch arch);
|
|
void dt_version_set(int version);
|
|
void dt_attr_mem_limit_set(u64 mem_limit);
|
|
void dt_attr_force_set(int value);
|
|
void dt_attr_dasd_type_set(const char *dasd_type);
|
|
|
|
/*
|
|
* Supported s390 dumpers
|
|
*/
|
|
extern struct dt dt_s390mv;
|
|
extern struct dt dt_s390mv_ext;
|
|
extern struct dt dt_s390sv_ext;
|
|
extern struct dt dt_scsi;
|
|
extern struct dt dt_ngdump;
|
|
|
|
#endif
|