Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

$BKIBK

Prolog  

Control Block Contents  
   $BKIBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


$BKIBK Prolog

 NAME       : LGRBKIBK
 DESCRIPTION: Relocation mapping for HCPBKIBK
 DSECT      : $BKIBK
 FUNCTION   : LGRBKIBK describes those fields of the BKIBK that
              will be migrated to the destination system during
              guest relocation.
 LOCATED BY : This is a mapping of the RDODATA area within the
              RDOBK during guest relocation.
 CREATED BY : HCPRLWBF - BKIBK Formatter for LGR
 DELETED BY : HCPRLDRL - Release storage associated with a RDP
 RELOCATION CONSIDERATIONS : This control block is used during live guest
              relocation.  It is used to relocate a control block
              defined in a corresponding HCP COPY file.  Any
              fields or bits defined in HCPBKIBK which are
              required on the destination system must be defined
              here, and code must be added to migrate the field
              or bit during a relocation.

 

$BKIBK Control Block Content


$BKIBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      $BKIBK         Relocation mapping for HCPBKIBK
          00000001       $BKI_VER       1 Mapping version number for this
                                        DSECT. Version is independent of
                                        the CP level and need only be
                                        changed when this DSECT is
                                        changed. The convention is to
                                        increment by 1.
0000    0 Signed       2 $BKI_HDRL      Header length (in bytes)
0002    2 Signed       2 $BKI_BITL      Length of mapped bits (in bytes)
0004    4 Signed       4 *              Reserved for future use
          00000008       $BKI_HDLN      *-$BKIBK Length of header (bytes)
      Bit map: Contains the BKIBK flags that are subject to
               relocation. These bits are defined sequentially,
               regardless of how they are defined in HCPBKIBK.
               This yields a consistent mapping that ensures
               compatibility when a guest is relocated between
               systems at differing service levels.
               Names in the comments column indicate the control
               block byte which contains the flag. This name is
               subject to change if the flag definition changes.
         ====> NEVER change bits which already exist here.
         ====> NEVER change the order of bits in this section.
         ====> ALWAYS add new bits at the end of this section,
               together with new flag bytes as required.
0008    8 Signed       2 $BKI_BITS (0)  Bit map area
0008    8 Bitstring    1 $BKI0
          1... ....      $BKIDEVRD      X'80' $BKIDEVRD BKIFLAGS
          00000001       $BKI_BLEN      *-$BKI_BITS Length of bit map
                                        area
      Data:    Contains all HCPBKIBK data that is subject to
               relocation, except for flag bits, which are
               handled separately.
               All fields are defined as XLnn to avoid alignment
               warnings and to pack the data efficiently.
         ====> NEVER change fields which already exist here.
         ====> NEVER change the order of fields in this section.
         ====> ALWAYS add new fields at the end of this section.
               together with new flag bytes as required.
0009    9 Bitstring    1 $BKI_DATA (0)  Start of data map
0009    9 Bitstring    4 $BKIBLKSZ      Block size of user's disk
000D   13 Bitstring    2 $BKIVDEVN      Virtual device number
000F   15 Bitstring    8 $BKIOFFCP      CP offset for disk
0017   23 Bitstring    8 $BKIOFFST      User's requested offset
001F   31 Bitstring    8 $BKISTART      User's starting block
0027   39 Bitstring    8 $BKIEND        User's ending block
          0000002F       $BKI_LEN       *-$BKIBK Length of mapping block
          00000006       $BKI_SZ        ($BKI_LEN+7)/8 Size of mapping
                                        block

 

$BKIBK Storage Layout

          
*** $BKIBK - Relocation mapping for HCPBKIBK
*
*     +-------------+-------------+---------------------------+
*   0 | $BKI_HDRL   | $BKI_BITL   |///////////////////////////|
*     +------+------+-------------+------+-------------+------+
*   8 |$BKI0 |        $BKIBLKSZ          | $BKIVDEVN   |(00F)-|
*     +------+---------------------------+-------------+------+
*  10 |                  -$BKIOFFCP                    |(017)-|
*     +------------------------------------------------+------+
*  18 |                  -$BKIOFFST                    |(01F)-|
*     +------------------------------------------------+------+
*  20 |                  -$BKISTART                    |(027)-|
*     +------------------------------------------------+------+
*  28 |                   -$BKIEND                     | 2F
*     +------------------------------------------------+
*
*** $BKIBK - Relocation mapping for HCPBKIBK

 

$BKIBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
$BKI_BITL      0002
$BKI_BITS      0008
$BKI_BLEN      0008 00000001
$BKI_DATA      0009
$BKI_HDLN      0004 00000008
$BKI_HDRL      0000
$BKI_LEN       0027 0000002F
$BKI_SZ        0027 00000006
$BKI_VER       0000 00000001
$BKIBLKSZ      0009
$BKIDEVRD      0008 80
$BKIEND        0027
$BKIOFFCP      000F
$BKIOFFST      0017
$BKISTART      001F
$BKIVDEVN      000D
$BKI0          0008

This information is based on z/VM V6R2.0. Last updated on 21 Nov 2011 at 11:34:41 EDT.
Copyright IBM Corporation, 1990, 2011