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

$CHCBK

Prolog  

Control Block Contents  
   $CHCBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


$CHCBK Prolog

 NAME       : LGRCHCBK
 DESCRIPTION: Relocation mapping for HCPCHCBK
 DSECT      : $CHCBK
 FUNCTION   : LGRCHCBK describes those fields of the CHCBK 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 : HCPRLICF - CHCBK Formatter for LGR
 DELETED BY : HCPRLDRL - Release storage associated with an 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 HCPCHCBK 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.

 

$CHCBK Control Block Content


$CHCBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      $CHCBK         Relocation mapping for HCPCHCBK
          00000001       $CHC_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 $CHC_HDRL      Header length (in bytes)
0002    2 Signed       2 $CHC_BITL      Length of mapped bits (in bytes)
0004    4 Signed       4 *              Reserved for future use
          00000008       $CHC_HDLN      *-$CHCBK Length of header (bytes)
      Bit map: Contains the CHCBK flags that are subject to
               relocation. These bits are defined sequentially,
               regardless of how they are defined in HCPCHCBK.
               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 $CHC_BITS (0)  Bit map area
0008    8 Bitstring    1 $CHC0
          1... ....      $CHCMSM        X'80' $CHCMSM CHCHFLAG
          .1.. ....      $CHCTIM        X'40' $CHCTIM CHCHFLAG
          ..1. ....      $CHCRWCC1      X'20' $CHCRWCC1 CHCSFLAG
          ...1 ....      $CHCEMW        X'10' $CHCEMW CHCSFLAG
          .... 1...      $CHCIPR        X'08' $CHCIPR CHCSFLAG
          00000001       $CHC_BLEN      *-$CHC_BITS Length of bit map
                                        area
      Data:    Contains all HCPCHCBK 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 $CHC_DATA (0)  Start of data map
0009    9 Bitstring    1 $CHCKEY        Key of user measurement block
000A   10 Bitstring    4 $CHCGMBOH      zArch: high order MBO word
000E   14 Bitstring    4 $CHCGMBOL      zArch: Low order MBO word
0012   18 Bitstring    4 $CHCIORW       Pointer to chain of CRWBK's
0016   22 Bitstring    4 $CHCSALIM      Set Address Limit Value
001A   26 Bitstring    4 $CHCMCV        Pointer to chain of MCVBK's
001E   30 Bitstring    1 $CHCPGBY0      Non zero means CHCPGID is set
001F   31 Bitstring   11 $CHCPGID       Guest Path Group ID
002A   42 Bitstring  256 $CHCCHPID      Virtual chpid table
          0000012A       $CHC_LEN       *-$CHCBK Total length, in bytes
          00000026       $CHC_SZ        ($CHC_LEN+7)/8 Size in
                                        doublewords

 

$CHCBK Storage Layout

          
*** $CHCBK - Relocation mapping for HCPCHCBK
*
*     +-------------+-------------+---------------------------+
*   0 | $CHC_HDRL   | $CHC_BITL   |///////////////////////////|
*     +------+------+-------------+-------------+-------------+
*   8 |$CHC0 |:CKEY |        $CHCGMBOH          | $CHCGMBOL-  |
*     +------+------+---------------------------+-------------+
*  10 |   -(00E)    |         $CHCIORW          | $CHCSALIM-  |
*     +-------------+---------------------------+------+------+
*  18 |   -(016)    |         $CHCMCV           |(01E) |      |
*     +-------------+---------------------------+------+      |
*     |                       $CHCPGID                        |
*     |             +-----------------------------------------+
*     |             |                                         |
*     +-------------+                                         |
*  30 |                                                       |
*     =                      $CHCCHPID                        =
*     |             +-----------------------------------------+
*     |             | 12A
*     +-------------+
*
*** $CHCBK - Relocation mapping for HCPCHCBK

 

$CHCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
$CHC_BITL      0002
$CHC_BITS      0008
$CHC_BLEN      0008 00000001
$CHC_DATA      0009
$CHC_HDLN      0004 00000008
$CHC_HDRL      0000
$CHC_LEN       002A 0000012A
$CHC_SZ        002A 00000026
$CHC_VER       0000 00000001
$CHCCHPID      002A
$CHCEMW        0008 10
$CHCGMBOH      000A
$CHCGMBOL      000E
$CHCIORW       0012
$CHCIPR        0008 08
$CHCKEY        0009
$CHCMCV        001A
$CHCMSM        0008 80
$CHCPGBY0      001E
$CHCPGID       001F
$CHCRWCC1      0008 20
$CHCSALIM      0016
$CHCTIM        0008 40
$CHC0          0008

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