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

$MCVBK

Prolog  

Control Block Contents  
   $MCVBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


$MCVBK Prolog

 NAME       : LGRMCVBK
 DESCRIPTION: Relocation mapping for HCPMCVBK
 DSECT      : $MCVBK
 FUNCTION   : LGRMCVBK describes those fields of the MCVBK 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.
 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 HCPMCVBK 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.

 

$MCVBK Control Block Content


$MCVBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      $MCVBK         Relocation mapping for HCPMCVBK
          00000001       $MCV_VER       1 Mapping version number
0000    0 Signed       2 $MCV_HDRL      Header length (in bytes)
0002    2 Signed       2 $MCV_BITL      Length of mapped bits (in bytes)
0004    4 Signed       4 *              Reserved for future use
          00000008       $MCV_HDLN      *-$MCVBK Length of header (bytes)
      Bit map: Contains the MCVBK flags that are subject to
               relocation. These bits are defined sequentially,
               regardless of how they are defined in HCPMCVBK.
               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 $MCV_BITS (0)  Bit map area
0008    8 Bitstring    1 $MCV0
          1... ....      $MCVABEND      X'80' $MCVABEND MCVFLAG
          .1.. ....      $MCVCKSTP      X'40' $MCVCKSTP MCVFLAG
          ..1. ....      $MCVTMOUT      X'20' $MCVTMOUT MCVFLAG
          ...1 ....      $MCVCUTOF      X'10' $MCVCUTOF MCVFLAG
          .... 1...      $MCVCMPLT      X'08' $MCVCMPLT MCVFLAG
          .... .1..      $MCVQWRK       X'04' $MCVQWRK MCVFLAG
          .... ..1.      $MCVSTGFX      X'02' $MCVSTGFX MCVFLAG
          .... ...1      $MCVSTGLS      X'01' $MCVSTGLS MCVFLAG
0009    9 Bitstring    1 $MCV1
          1... ....      $MCVFSIE       X'80' $MCVFSIE MCVFLAG2
          .1.. ....      $MCVHRUN       X'40' $MCVHRUN MCVFLAG2
          ..1. ....      $MCVUNRUN      X'20' $MCVUNRUN MCVFLAG2
          ...1 ....      $MCVSCS        X'10' $MCVSCS MCVFLAG2
          00000002       $MCV_BLEN      *-$MCV_BITS Length of bit map
                                        area
      Data:    Contains all HCPMCVBK 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.
000A   10 Bitstring    1 $MCV_DATA (0)  Start of data map
000A   10 Bitstring    8 $MCVMCIC       Machine check interruption code
0012   18 Bitstring    4 $MCVVMDBK      CPUAD of running VMDBK
0016   22 Bitstring    4 $MCVFSAUS      0: MCVFSAUS ¬= MCVVMDBK 1:
                                        MCVFSAUS = MCVVMDBK
001A   26 Bitstring    4 $MCVNEXT       Next MCVBK
001E   30 Bitstring    4 $MCVEDMDC      Machine check external damage
                                        code
0022   34 Bitstring    8 $MCVGFAD       Guest absolute failing address
          0000002A       $MCV_LEN       *-$MCVBK Total length, in bytes
          00000006       $MCV_SZ        ($MCV_LEN+7)/8 Size in
                                        doublewords

 

$MCVBK Storage Layout

          
*** $MCVBK - Relocation mapping for HCPMCVBK
*
*     +-------------+-------------+---------------------------+
*   0 | $MCV_HDRL   | $MCV_BITL   |///////////////////////////|
*     +------+------+-------------+---------------------------+
*   8 |$MCV0 |$MCV1 |               $MCVMCIC-                 |
*     +------+------+---------------------------+-------------+
*  10 |   -(00A)    |        $MCVVMDBK          | $MCVFSAUS-  |
*     +-------------+---------------------------+-------------+
*  18 |   -(016)    |         $MCVNEXT          | $MCVEDMDC-  |
*     +-------------+---------------------------+-------------+
*  20 |   -(01E)    |               $MCVGFAD-                 |
*     +-------------+-----------------------------------------+
*  28 |   -(022)    | 2A
*     +-------------+
*
*** $MCVBK - Relocation mapping for HCPMCVBK

 

$MCVBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
$MCV_BITL      0002
$MCV_BITS      0008
$MCV_BLEN      0009 00000002
$MCV_DATA      000A
$MCV_HDLN      0004 00000008
$MCV_HDRL      0000
$MCV_LEN       0022 0000002A
$MCV_SZ        0022 00000006
$MCV_VER       0000 00000001
$MCVABEND      0008 80
$MCVCKSTP      0008 40
$MCVCMPLT      0008 08
$MCVCUTOF      0008 10
$MCVEDMDC      001E
$MCVFSAUS      0016
$MCVFSIE       0009 80
$MCVGFAD       0022
$MCVHRUN       0009 40
$MCVMCIC       000A
$MCVNEXT       001A
$MCVQWRK       0008 04
$MCVSCS        0009 10
$MCVSTGFX      0008 02
$MCVSTGLS      0008 01
$MCVTMOUT      0008 20
$MCVUNRUN      0009 20
$MCVVMDBK      0012
$MCV0          0008
$MCV1          0009

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