27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DUMP Guest Storage (ESA/390)<br />

v ALET 1 always indicates the current secondary address space designated<br />

by the STD in guest control register 7, regardless of the current contents of<br />

the dispatchable unit access list.<br />

v Access register 0 is always treated as containing ALET 0. The contents of<br />

access register 0 are not used during access register translation processing.<br />

v General register 0 is always treated as containing the value 0 when used as<br />

the base or index register. The contents of general register 0 are never<br />

used.<br />

6. The BASE oper<strong>and</strong> is primarily intended to be used in conjunction with the L<br />

oper<strong>and</strong>. It lets you dump the storage used by the virtual machine in one less<br />

step than would otherwise be possible. Without the BASE oper<strong>and</strong>, you may<br />

need to display the contents of a general register, add the displacement, <strong>and</strong><br />

then enter the DUMP comm<strong>and</strong> to examine storage the program is using. With<br />

the use of access registers, the BASE option additionally lets you dump<br />

storage without needing to know whether your program is currently in access<br />

register mode. This is done automatically for you by <strong>CP</strong>.<br />

7. If you use the BASEnn <strong>and</strong> INDEXnn oper<strong>and</strong>s together, the specified starting<br />

address for a dump is used as a displacement from the address formed from<br />

the sum of the contents of the two specified registers.<br />

The values in the registers specified by the BASEnn <strong>and</strong> INDEXnn oper<strong>and</strong>s<br />

are treated as 24-bit or 31-bit real addresses according to the addressing<br />

mode (A) bit in the virtual machine’s PSW. That is, if the A bit is 1, the value is<br />

a 31-bit address. If the A bit is 0, the value is a 24-bit address.<br />

8. During DUMP comm<strong>and</strong> processing, the authorization mechanisms used<br />

during normal address translation are not used.<br />

9. Special authorization is required to use the SPACE or ASIT oper<strong>and</strong> of this<br />

comm<strong>and</strong> to dump any address space other the host-primary address space of<br />

the virtual <strong>CP</strong>U. In order to use this comm<strong>and</strong> to dump storage in an address<br />

space, one of the following conditions must be satisfied:<br />

v Your virtual machine must be the owner of the address space. Your virtual<br />

machine is the owner of its host-primary address space <strong>and</strong> of any address<br />

space that it creates using the CREATE function of the ADRSPACE macro.<br />

v If the address space is owned by another virtual machine, your virtual<br />

machine must have read-only or read-write authorization to the address<br />

space. The owner of the address space can grant authorization to your<br />

virtual machine using the PERMIT function of the ADRSPACE macro.<br />

Authorization is granted on a space-by-space basis, so that you may be<br />

authorized to dump one address space of a virtual machine but may not be<br />

authorized to view a different space.<br />

10. The oper<strong>and</strong>s V <strong>and</strong> W used in dumping third-level storage from guest primary<br />

<strong>and</strong> secondary storage are supported for compatibility. The PRI <strong>and</strong> SECO<br />

oper<strong>and</strong>s replace the V <strong>and</strong> W oper<strong>and</strong>s.<br />

11. When the ASIT or SPACE oper<strong>and</strong> is specified, the DUMP request fails if the<br />

specified address space does not exist, or if you are not authorized to access<br />

the address space. The current request is rejected, <strong>and</strong> processing of the<br />

comm<strong>and</strong> line is terminated. The rejected oper<strong>and</strong>s are displayed along with a<br />

message indicating the nature of the error.<br />

12. The DUMP comm<strong>and</strong> requires a segment table designation (STD) to display<br />

third-level storage (storage that appears virtual to your virtual machine). It may<br />

receive the STD as an oper<strong>and</strong>, find it in a control register, or use the<br />

access-register translation (ART) or the address space number (ASN)<br />

translation process to obtain the STD. The access-register translation <strong>and</strong> ASN<br />

translation processes may fail because of one of several program exception<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 371

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!