diff options
author | Alexander Yarygin <yarygin@linux.vnet.ibm.com> | 2015-07-21 14:10:39 +0300 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-05-17 15:50:29 +0200 |
commit | 6aed958978ba9e32301b131e1c5dcadcf952a1ed (patch) | |
tree | 9f547873071ea4e342e26f6fd8fa2b36dd082882 /hw/s390x/ipl.h | |
parent | 9946a9113cf5d84c9381342100343aa97f736ee0 (diff) |
s390x/ipl: Provide ipl parameter block
Right now we return the ipl parameter block only if the guest
specified one. Let's fill in the parameter block when bootindex
parameter is available and not booting from an external kernel.
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/ipl.h')
-rw-r--r-- | hw/s390x/ipl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/ipl.h b/hw/s390x/ipl.h index 08f1d5c385..0b7f6cbecb 100644 --- a/hw/s390x/ipl.h +++ b/hw/s390x/ipl.h @@ -102,6 +102,7 @@ typedef struct S390IPLState S390IPLState; #define S390_IPL_TYPE_FCP 0x00 #define S390_IPL_TYPE_CCW 0x02 +#define S390_IPLB_HEADER_LEN 8 #define S390_IPLB_MIN_CCW_LEN 200 #define S390_IPLB_MIN_FCP_LEN 384 |