mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: Add --no-compress option to zipl command
Add --no-compress option to explicitly omit compression for single-volume DASD dumper. Used primarily for test purposes. Since only the lowest byte of mvdump_force field (struct stage2dump_parm_tail) has been used, split it in two byte fields and use one for the new no_compress attribute. Update zipl help and zipl man page with the new parameter info. 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>
This commit is contained in:
committed by
Jan Höppner
parent
c08794bdfb
commit
c61783546b
+1
-1
@@ -535,7 +535,7 @@ boot_get_eckd_dump_stage2(void **data, size_t *size,
|
||||
if (buffer == NULL)
|
||||
return -1;
|
||||
memcpy(buffer, DATA_ADDR(eckd2dump_sv), DATA_SIZE(eckd2dump_sv));
|
||||
/* Write mem size to end of dump record */
|
||||
/* Write mem size and no-compression indicator to end of dump record */
|
||||
offset = DATA_SIZE(eckd2dump_sv) - sizeof(struct stage2dump_parm_tail);
|
||||
memcpy(VOID_ADD(buffer, offset), stage2dump_parms,
|
||||
sizeof(struct stage2dump_parm_tail));
|
||||
|
||||
Reference in New Issue
Block a user