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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DUMP Guest Storage (z/Architecture)<br />

380 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><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 />

5. 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 />

6. If the BASEnn <strong>and</strong> INDEXnn oper<strong>and</strong>s are used 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, 31-bit or 64-bit real addresses according to the<br />

addressing mode bits (EA <strong>and</strong> BA - bits 31 <strong>and</strong> 32) in the virtual machine’s<br />

PSW. The addressing mode is determined as follows:<br />

Bit 31 Bit 32 Addressing Mode<br />

0 0 24-bit<br />

0 1 31-bit<br />

1 1 64-bit<br />

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

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

8. 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 />

9. 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 />

10. 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 />

11. The DUMP comm<strong>and</strong> requires an address-space-control element (ASCE) to<br />

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

It may receive the ASCE as an oper<strong>and</strong>, find it in a control register, or use the

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

Saved successfully!

Ooh no, something went wrong!