mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
ee4cb78dc2
Since DASD standalone dumper does not support non-extended s390 multi-volume dumps for years, drop zgetdump support of non-extended s390_mv DASD dumps and dump-tools: - Merge dfi_s390mv_ext and dt_s390mv_ext with related dfi_s390mv and dt_s390mv counterparts. - Update DFI and DT vectors of supported dump formats and dump-tools removing dfi_s390mv and dt_s390mv entries and keeping dt_s390mv_ext and dfi_s390mv_ext ones for s390_mv extended dump and dump-tool accordingly. - Remove dfi_s390mv.c and dt_s390mv.c sources and update the Makefile. - Make dfi_s390mv_ext_init() and dfi_s390mv_info() static. - Remove magic number relevant to non-extended s390_mv DASD dumper. - Completely drop DASD dumper version 5 case in df_s390_dumper_read(). Note: Since non-extended s390 multi-volume dumps can reside on DASD partitions only and cannot be produced via DFO interface, we can drop this dump format entirely. 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>
45 lines
898 B
C
45 lines
898 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_ext;
|
|
extern struct dt dt_s390sv_ext;
|
|
extern struct dt dt_scsi;
|
|
extern struct dt dt_ngdump;
|
|
|
|
#endif
|