hw/s390x/ipl: enable LOADPARM in IPIB for a boot device
commitbd1badf45788930473d271f44f1268a63f2ddbdd
authorFarhan Ali <alifm@linux.vnet.ibm.com>
Tue, 29 Mar 2016 14:28:40 +0000 (29 16:28 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 2 May 2017 13:08:54 +0000 (2 15:08 +0200)
treeed1fdf1e7ae59b3d97c561b4e6fce4a4daed9c61
parent7104bae9de560e7f9f00b2bef4b8c791cdd59c7f
hw/s390x/ipl: enable LOADPARM in IPIB for a boot device

Insert the LOADPARM value to the IPL Information Parameter Block.

An IPL Information Parameter Block is created when "bootindex" is
specified for a device. If a user specifies "loadparm=", then we
store the loadparm value in the created IPIB for that boot device.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/ipl.c
hw/s390x/ipl.h