cc=l Error condition. Register 15 contains the following:
R15=1 Device is either not attached or the virtual channel is
dedicated.
R15=5Virtual device is busy or has an interrupt pending.
cc=2 Exception conditions.
following:
Register 15 contains one of the
R15=2
R15=3Unit exception bit in device status byte=l Wrong length record detected.
cc=3 Error Condition:
R15=13 A permanentI/O error occurred or an unsupported device
was specified. Thetwo rightmost positions of the
user's Ry register contain the first two sense bytesDIAGNOSE Code X'24' --Device Type and Features DIAGNOSE Code X'24' requests CP to provide a virtual machine with
identifying information and status informationatout a specified virtual
device. The virtual machine must specify the virtual device for which
information is requested. CP returns informationatout the virtual
device and associated real device in theRx. Ry, and Ry+l registers. CP also provides a condition code identifying the specific device
information returned to the virtual machine.When a virtual machine issues DIAGNOSE Code X'24', the Rx register must contain the virtual device address for which information is
requested or the value negative 1 (-1).Specify -1 when the device is a
virtual console whose address is unknown to the virtual machine.When CP returns control to the virtual machine,
registers contain deviceinformation. The Ry
information about the virtual device and theRy+l about the real device. If -1 was specified and CP
console, the Rx register contains information about
the Ry,Ry+l, and Bx
register contains
register informaticn
located the virtual
the virtual console.
CP obtains device information from three control blocks: virtual
device information from the virtual device block(VDEVBLOK), and real
device information from the real device block(RDEVBLOK) and from
NICBLOK. The following diagrams identify specific information returnedby CP and show how to locate this information in the Rx, Ry, and Ry+1
registers. The symbolic names used in these diagrams are the symbolic
names used withVDEVBLOK, RDEVBLOK, and NICBLOK in 12gic • Byte 0 RDEVTMCD - or -
NICTMCDByte 1 Byte 2 Byte 3
virtual
device
addressI 192 IBM VMj370 System Programmer's Guide
.J
R15=1 Device is either not attached or the virtual channel is
dedicated.
R15=5
cc=2 Exception conditions.
following:
Register 15 contains one of the
R15=2
R15=3
cc=3 Error Condition:
R15=13 A permanent
was specified. The
user's Ry register contain the first two sense bytes
identifying information and status information
device. The virtual machine must specify the virtual device for which
information is requested. CP returns information
device and associated real device in the
information returned to the virtual machine.
requested or the value negative 1 (-1).
virtual console whose address is unknown to the virtual machine.
registers contain device
information about the virtual device and the
console, the Rx register contains information about
the Ry,
register contains
register informaticn
located the virtual
the virtual console.
CP obtains device information from three control blocks: virtual
device information from the virtual device block
device information from the real device block
NICBLOK. The following diagrams identify specific information returned
registers. The symbolic names used in these diagrams are the symbolic
names used with
NICTMCD
virtual
device
address
.J