|
Hex Dec Type/Val Lng Label (dup) Comments
---- ---- --------- ---- -------------- --------
0000 0 Structure $VDEV Relocation mapping for HCPVDEV
00000003 $VDEV_VER 3 $VDEV mapping version.
$VDEV_VER 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 $VDEV_HDRL Header length (in bytes)
0002 2 Signed 2 $VDEV_BITL Length of mapped bits (in bytes)
0004 4 Signed 4 * Reserved for future use
00000008 $VDEV_HDLN *-$VDEV Length of header (bytes)
Bit map: Contains the VDEV flags that are subject to
relocation. These bits are defined sequentially,
regardless of how they are defined in HCPVDEV.
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 $VDEV_BITS (0) Bit map area
0008 8 Bitstring 1 $VDEV0
1... .... $VDEVBUSY X'80' $VDEVBUSY ALL VDEVSTAT
.1.. .... $VDEVPRCE X'40' $VDEVPRCE ALL VDEVSTAT
..1. .... $VDEVCLRF X'20' $VDEVCLRF ALL VDEVSTAT
...1 .... $VDEVHLTF X'10' $VDEVHLTF ALL VDEVSTAT
.... 1... $VDEVSUSP X'08' $VDEVSUSP ALL VDEVSTAT
.... .1.. $VDEVRPND X'04' $VDEVRPND ALL VDEVSTAT
.... ..1. $VDEVQUED X'02' $VDEVQUED ALL VDEVSTAT
.... ...1 $VDEVCATT X'01' $VDEVCATT ALL VDEVSTAT
0009 9 Bitstring 1 $VDEV1
1... .... $VDEVIMRS X'80' $VDEVIMRS ALL VDEVWAIT
.1.. .... $VDEVWINT X'40' $VDEVWINT ALL VDEVWAIT
..1. .... $VDEVIOPQ X'20' $VDEVIOPQ QDIO VDEVIOP1
...1 .... $VDEVNSIM X'10' $VDEVNSIM VNET VDEVVNET
.... 1... $VDEVINTV X'08' $VDEVINTV ALL VDEVAFLG
.... .1.. $VDEVDED X'04' $VDEVDED ALL VDEVAFLG
.... ..1. $VDEVFULL X'02' $VDEVFULL DASD VDEVAFLG
.... ...1 $VDEVDVFP X'01' $VDEVDVFP DASD VDEVFFLG
000A 10 Bitstring 1 $VDEV2
1... .... $VDEVBPCI X'80' $VDEVBPCI ALL VDEVBFLG
.1.. .... $VDEVBSUI X'40' $VDEVBSUI ALL VDEVBFLG
..1. .... $VDEVQACT X'20' $VDEVQACT QDIO VDEVBFLG
...1 .... $VDEVVMIO X'10' $VDEVVMIO ALL VDEVBFLG
.... 1... $VDEVBCC0 X'08' $VDEVBCC0 ALL VDEVBFLG
.... .1.. $VDEVRO X'04' $VDEVRO ALL VDEVDFLG
.... ..1. $VDEVRSRL X'02' $VDEVRSRL ALL VDEVDFLG
.... ...1 $VDEVNSEG X'01' $VDEVNSEG DASD VDEVDFLG
000B 11 Bitstring 1 $VDEV3
1... .... $VDEVINT3 X'80' $VDEVINT3 CONS VDEVCFLG
.1.. .... $VDEVPPA1 X'40' $VDEVPPA1 CONS VDEVCFLG
..1. .... $VDEVGSUS X'20' $VDEVGSUS CONS VDEVCFLG
...1 .... $VDEVDING X'10' $VDEVDING CONS VDEVCFLG
.... 1... $VDEVATTN X'08' $VDEVATTN CONS VDEVCFLG
.... .1.. $VDEVBRGS X'04' $VDEVBRGS CONS VDEVCFLG
.... ..1. $VDEVLNKS X'02' $VDEVLNKS DASD VDEVFFLG
.... ...1 $VDEVLNKE X'01' $VDEVLNKE DASD VDEVFFLG
000C 12 Bitstring 1 $VDEV4
1... .... $VDEVQDSK X'80' $VDEVQDSK DASD VDEVFFLG
.1.. .... $VDEVFBA X'40' $VDEVFBA DASD VDEVFFLG
..1. .... $VDEVNRSM X'20' $VDEVNRSM DASD VDEVPFLG
...1 .... $VDEVDPRE X'10' $VDEVDPRE ALL VDEVPFLG
.... .1.. $VDEVTENB X'04' $VDEVTENB TAPE VDEVPFLG
.... ..1. $VDEVSHRD X'02' $VDEVSHRD TAPE VDEVPFLG
.... ...1 $VDEVMBSF X'01' $VDEVMBSF QDIO VDEVBFLG
000D 13 Bitstring 1 $VDEV5
1... .... $VDEVPVBA X'80' $VDEVPVBA DASD VDEVPVFG
.1.. .... $VDEVPVAL X'40' $VDEVPVAL DASD VDEVPVFG
..1. .... $VDEVHPAL X'20' $VDEVHPAL DASD VDEVPVFG
...1 .... $VDEVHPBA X'10' $VDEVHPBA DASD VDEVPVFG
.... 1... $VDEVRFID X'08' $VDEVRFID DASD VDEVSFLG
.... .1.. $VDEVSCPI X'04' $VDEVSCPI DASD VDEVSFLG
.... ...1 $VDEVNODT X'01' $VDEVNODT ALL VDEVLGRI
000E 14 Bitstring 1 $VDEV6
1... .... $VDEVCNA X'80' $VDEVCNA DASD VDEVMNGT
.1.. .... $VDEVSCTL X'40' $VDEVSCTL DASD VDEVMNGT
..1. .... $VDEVDCTL X'20' $VDEVDCTL DASD VDEVMNGT
...1 .... $VDEVNCTL X'10' $VDEVNCTL DASD VDEVMNGT
.... 1... $VDEVSWDD X'08' $VDEVSWDD VNET VDEVSWFL
.... .1.. $VDEVD2A8 X'04' $VDEVD2A8 VNET VDEVSWFL
.... ..1. $VDEVIFCC X'02' $VDEVIFCC QDIO VDEVLGRI
.... ...1 $VDEVSSNT X'01' $VDEVSSNT DASD VDEVSSNT
NOTES : $VDEV7 bits do NOT map to VDEV bits
000F 15 Bitstring 1 $VDEV7
1... .... $VDEVCONS X'80' $VDEVCONS CONS This is the
VIRTUAL CONSOLE
.1.. .... $VDEVNICB X'40' $VDEVNICB VNET This is a
BASE NIC
..1. .... $VDEVISMD X'20' $VDEVISMD MDISK This is an
MDISK
.... 1... $VDEVOSAB X'08' $VDEVOSAB OSA This is a
base OSA
.... .1.. $VDEVOSAN X'04' $VDEVOSAN OSA This is a
non-base OSA
.... ..1. $VDEVQESB X'02' $VDEVQESB OSA/FCP QEBSM
enabled on source
NOTES : $VDEV8 bits do NOT map to VDEV bits
0010 16 Bitstring 1 $VDEV8 Flags unique to LGRVDEV
1... .... $VDEVNOAS X'80' $VDEVNOAS TAPE
RDEVTPFG,RDEVNOAS
.1.. .... $VDEVNOMS X'40' $VDEVNOMS TAPE
RDEVTPFG,RDEVNOMS
..1. .... $VDEVENCR X'20' $VDEVENCR TAPE
RDEVTPF2,RDEVENCR
...1 .... $VDEVURAC X'10' $VDEVURAC FCP
RDEVFCLN,RDEVURAC
.... 1... $VDEVRECC X'08' $VDEVRECC MDISK
MDIMDCFL,MDIRECAC
.... .1.. $VDEVWKAL X'04' $VDEVWKAL MDISK
MDISTAT,MDIWRKAL
.... ..1. $VDEVMDCA X'02' $VDEVMDCA MDISK
MDIMDCFL,MDIMDCA
.... ...1 $VDEVMDCD X'01' $VDEVMDCD MDISK
MDIMDCFL,MDIMDCD
0011 17 Bitstring 1 $VDEV9
1... .... $VDEV1END X'80' $VDEV1END DASD
VDEVSFLG,VDEV1END
0012 18 Bitstring 7 * RESERVED FOR FUTURE USE
00000011 $VDEV_BLEN *-$VDEV_BITS Length of bit map
area
Data: Contains all HCPVDEV 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.
0019 25 Bitstring 1 $VDEV_DATA (0) Start of data map
0019 25 Bitstring 4 $VDEVFPNT ALL Forward interruption pointer
001D 29 Bitstring 4 $VDEVBPNT ALL Backward interruption pointer
0021 33 Bitstring 2 $VDEVSUB ALL Virtual subchannel number
0023 35 Bitstring 1 $VDEVCLAS ALL Device class
0024 36 Bitstring 1 $VDEVTYPE ALL Device Type
0025 37 Bitstring 28 $VDEVPMCW (0) ALL Path Managment Control Word
0025 37 Bitstring 4 $VDEVINTP ALL Interrupt parameter
0029 41 Bitstring 2 * ALL IRCF and CTL
002B 43 Bitstring 2 $VDEVDEV ALL Virtual Device Number
002D 45 Bitstring 20 * ALL Rest of PMCW
0041 65 Bitstring 4 $VDEVNIOR ALL HLA of SSCH pending IORBK
0045 69 Bitstring 4 $VDEVSIOR ALL HLA of IORBK holding sense
data
0049 73 Bitstring 4 $VDEVPIOR ALL HLA of Pending interrupt
IORBK
004D 77 Bitstring 4 $VDEVAEVT DASD Pointer to list of asych
events
0051 81 Bitstring 4 $VDEVIOCT ALL Count of virtual I/O requests
issued
0055 85 Bitstring 4 $VDEVTMCT ALL Count of virtual Transport
Mode I/O requests issued
0059 89 Bitstring 8 $VDEVTIME ALL TOD Clock at device creation
0061 97 Bitstring 4 $VDEVUIOR ALL Pending unsol IORBK,came in
after UC
0065 101 Bitstring 4 $VDEVIOCA ALL Count of actual I/Os
initiated by CP
0069 105 Bitstring 1 $VDEVMODL ALL Virtual device model number
006A 106 Bitstring 1 $VDEVCPIE ALL Channel path in error mask
006B 107 Bitstring 1 $VDEVCRDR ALL Count of I/O redrives to
simulation
006C 108 Bitstring 1 $VDEVLCNT ALL Current line count
006D 109 Bitstring 3 $VDEVLTOD ALL Bytes 2-4 of TOD clock when
LCNT reset
0070 112 Bitstring 4 $VDEVBKIA DASD BKIBK address
0074 116 Bitstring 1 $VDEVPMSK ALL Quiesce/Resume message path
mask
0075 117 Bitstring 8 $VDEVMBLK ALL 64-bit measurement block
address
007D 125 Bitstring 4 $VDEVGCHR ALL Guest Characteristics
FIELDS FROM DASD SPECIFIC AREA OF VDEV
0081 129 Bitstring 4 $VDEVPOSN DASD Virtual DASD Arm position
0085 133 Bitstring 4 $VDEVSEXT DASD Minidisk Start of EXTent
(cyls or blks)
0089 137 Bitstring 4 $VDEVEEXT DASD Minidisk End of EXTent (cyls
or blks)
FIELDS FROM TAPE SPECIFIC AREA OF VDEV
008D 141 Bitstring 4 $VDEVDYPT TAPE Pointer to Tape Pathing
control block
FIELDS FROM CTCA SPECIFIC AREA OF VDEV
0091 145 Bitstring 8 $VDEVCUSR CTCA Restricted USERID for
coupling
0099 153 Bitstring 4 $VDEVCTCD CTCA CTCA designation
FIELDS FROM SPOOL Console / Unit Record
SPECIFIC AREA OF VDEV
009D 157 Bitstring 4 $VDEVVSP CONS Virtual Spool Block address
00A1 161 Bitstring 4 $VDEVVPX CONS PRT Extension Block address
00A5 165 Bitstring 4 $VDEVVDS CONS Device Simulation pointer
FIELDS COPIED FROM NON-VDEV CONTROL BLOCKS
00A9 169 Bitstring 1 $VDEVIDSZ ALL Byte length of DUID/EQID
00B0 176 Dbl-Word 8 $VDEVID (5) ALL EQID/DUID
00D8 216 Bitstring 1 $VDEVKYA1 TAPE First KEY attribute
00D9 217 Bitstring 64 $VDEVKYL1 TAPE First KEY
0119 281 Bitstring 1 $VDEVKYA2 TAPE Second KEY attribute
011A 282 Bitstring 64 $VDEVKYL2 TAPE Second KEY
015A 346 Bitstring 8 $VDEVURFI FCP = RDEVURAC
0162 354 Bitstring 2 $VDEVPBAS DASD Base VDEV devno
(PAV/HYPERPAV)
0164 356 Bitstring 1 * Reserved for IBM use
0165 357 Bitstring 1 $VDEVSRCV Version on source system. If 0,
then source is pre-6.3 level.
00000001 $VDEV_S63 1 Source at release 6.3 or later
0166 358 Bitstring 4 $VDEV_PTRSH VDisk ASCPTRSH Copy
016A 362 Bitstring 4 $VDEV_CSPST VDisk ASCCSPST Copy
016E 366 Bitstring 4 $VDEV_CSPGR VDisk ASCCSPGR Copy
0172 370 Bitstring 4 $VDEV_CSPGW VDisk ASCCSPGW Copy
0176 374 Bitstring 4 $VDEV_CSXRD VDisk ASCCSXRD Copy
017A 378 Bitstring 4 $VDEV_CSXWT VDisk ASCCSXWT Copy
017E 382 Bitstring 4 $VDEV_CSMIG VDisk ASCCSMIG Copy
MDISK fields needed to create an MDISK on the destination.
0182 386 Bitstring 8 $VDEVOUSER MDISK MDIOUSER copy
018A 394 Bitstring 2 $VDEVOVDEV MDISK MDIOVDEV copy
This array is used to hold the subchannel IDs for a base
NIC and all associated non-base NICs.
018C 396 Bitstring 2 $VDEVSIDC VNET # entries in $VDEVSIDL
018E 398 Bitstring 2 $VDEVSIDN VNET Next available entry in
$VDEVSIDLS
0190 400 Bitstring 64 $VDEVSIDL (0) VNET Array of subchannel IDs
0190 400 Bitstring 4 * (16) VNET 16 4-byte (word) entries
00000010 $VDEVSIDM (*-$VDEVSIDL)/4 Max number of 4
byte entries
01D0 464 Bitstring 1 $VDEVNTYP VNET Network Device Type
(NICTYPE)
01D1 465 Bitstring 8 $VDEVLNAM VNET LANNAME (LANBK)
Real device number count/offset.
If $VDEVOSAB=1, then this is the COUNT of OSAs requiring
consecutive real device numbers.
If $VDEVOSAN=1, then this is the OFFSET from the base OSA
real device number.
01D9 473 Bitstring 2 $VDEVOSAO OSA
$VDEV_VER 2 support
01DB 475 Bitstring 4 $VDEVDVLH VNET NICVLANS (DVLHEAD)
01DF 479 Bitstring 2 $VDEVVCTR VNET NICVLCTR
01E1 481 Bitstring 2 $VDEVPVID VNET NICVPVID
01E3 483 Bitstring 1 $VDEVPORT VNET NICVPORT
01E4 484 Bitstring 1 $VDEVVLPT VNET LANVLFLT and NICVPORT values
$VDEV_VER 3 support
01E5 485 Bitstring 4 $VDEVNETO VNET Link to LGRNETWK extension
01E9 489 Bitstring 4 $VDEV_CSINT VDisk ASCCSINT Copy
01ED 493 Bitstring 4 $VDEV_CSREL VDisk ASCCSREL Copy
01F1 497 Bitstring 4 $VDEV_CSINV VDisk ASCCSINV Copy
01F5 501 Bitstring 4 $VDEV_CSPFI VDisk ASCCSPFI Copy
01F9 505 Bitstring 4 $VDEV_CSPFA VDisk ASCCSPFA Copy
01FD 509 Bitstring 4 $VDEV_CSFRY VDisk ASCCSFRY Copy
0201 513 Bitstring 4 $VDEV_CSFNR VDisk ASCCSFNR Copy
0205 517 Bitstring 4 $VDEV_CSXRL VDisk ASCCSXRL Copy
00000209 $VDEVBYSZ *-$VDEV Byte length of $VDEV
00000042 $VDEVSIZE ((*-$VDEV)+7)/8 DWord length of
$VDEV
| |