mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot: Set the new version in the dumper and in the dump header
Since we are using the existing s390 extended dump format for compressed dumps as well, set the version of the s390_ext dumper with compression support and also dump header of the compressed dump to '2' (in order for zgetdump to distinguish). Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
f1db473d11
commit
2363269c1c
@@ -21,7 +21,7 @@
|
||||
/*
|
||||
* Magic number at start of dump record
|
||||
*/
|
||||
const uint64_t __section(.stage2.head) magic = 0x5845434b44363401ULL; /* "XECKD64", version 1 */
|
||||
const uint64_t __section(.stage2.head) magic = 0x5845434b44363402ULL; /* "XECKD64", version 2 */
|
||||
|
||||
/*
|
||||
* Get device characteristics from zipl parameter block
|
||||
|
||||
@@ -216,7 +216,7 @@ static void df_s390_dump_init(void)
|
||||
dh->hdr_size = DF_S390_HDR_SIZE;
|
||||
dh->page_size = PAGE_SIZE;
|
||||
dh->dump_level = 4;
|
||||
dh->version = 1;
|
||||
dh->version = 2;
|
||||
dh->mem_start = 0;
|
||||
dh->arch = DF_S390_ARCH_64;
|
||||
dh->build_arch = DF_S390_ARCH_64;
|
||||
|
||||
Reference in New Issue
Block a user