within a single processor, reservejrelease CCW commands permit several operating systems running as virtual machines under one VM/370 system to use both virtual and real reserve/release to protect
data from cne another. Real reserve/release support is for dedicated
devices.
In this example,230 and 330 are alternate device addresses for a particular DASD to be shared by USERA and USERB (two virtual machines
running on thesame real computing system). share this device:
1. Generate the virtual machine operating system forUSERA to support
both the device at230 (two-channel switch) and the reserve/release
software.
2. Generate the virtual machine operating system forUSERB to support
both the device at330 (two-channel switch) and the reserve/release
software.
3. GenerateVM/370 as though 230 and 330 were different devices (with
different control units and channels).
4. Issue theCP ATTACH command to attach device 230 to USERA and
device330 to USERB. If the system generated for USERB is to run in a real machine,
rather than a virtual machine:• Generate the VM/370 system with device 230 but not 330. • Issue the CP ATTACH command to attach device 230 to USER!. In both cases: • The device addresses generated for systems to run in a virtual machine need not be the same as on the real machine. • The devices used by virtual machines must be dedicated (attached or
defined with aDEDICATE statement in the VM/370 directory). While theoretically possible, do not share the CP SYSRES and any
otherCP-owned disk between two processors. VM/370 checks all CCW commands passed by operating systems running in
virtual machines. It bases reserve/releaseCCW command processing on:
the type of device, the presence or lack of alternate path support, and
whether theMDISK statement in the VM/370 directory contains a "V" on
themode operand. For the hardware to execute the reserve/release CCi commands, the two-channel switch special feature must have been
installed. Depending upon the various combinations of these items,IM/370 either permits the reserve CCW command to execute on the hardware
or changes the reserveCCW command to a sense CCi command. To determine
the conditicns when a "reserve" is changed to a "sense"CCW command,
refer to Figure 2.
22IBM VM/370 Operating Systems in a Virtual Machine
data from cne another. Real reserve/release support is for dedicated
devices.
In this example,
running on the
1. Generate the virtual machine operating system for
both the device at
software.
2. Generate the virtual machine operating system for
both the device at
software.
3. Generate
different control units and channels).
4. Issue the
device
rather than a virtual machine:
defined with a
other
virtual machines. It bases reserve/release
the type of device, the presence or lack of alternate path support, and
whether the
the
installed. Depending upon the various combinations of these items,
or changes the reserve
the conditicns when a "reserve" is changed to a "sense"
refer to Figure 2.
22