mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Replace struct install_set with a new type containing multiple program tables and program components. Refactor the code accordingly. When retrieving device INFO, for each mirror complete a respective structure disk_info in the INFO.BASE array. When building a bootmap, for each mirror create a separate program table (or a pair of tables in case of DASD - for CCW-TYPE IPL and for LD-IPL), using respective components in the arrays INFO.BASE and BIS.MIRRORS Make data of program components added via get_component_buffer() and get_component_file() be duplicated per each mirror. Make boot record on each mirror point out to a respective program table in the bootmap (when booting from different mirrors, different program tables in the bootmap are used). This patch doesn't make functional changes. However, test cases comparing boot meta-data dumps of different mirrors may fail (since boot records on different mirrors now refer different copies of boot data). This will be fixed by the next patches in the series which allow boot data to be reused. Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
1.9 KiB
1.9 KiB