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.

If other pages in the segment were defined with the exclusive attribute (page<br />

descriptor codes ER, EW <strong>and</strong> EN), any pages not specified on the comm<strong>and</strong><br />

line become exclusive read/write pages whose data is not saved. This<br />

corresponds to page descriptor code EN.<br />

The page number is a hexadecimal value less than or equal to X'7FEFF' (2047<br />

MB). The following list shows examples of how hexadecimal storage addresses<br />

translate into hexadecimal page numbers:<br />

Storage Address<br />

Page Number<br />

00000xxx<br />

0<br />

00001xxx<br />

1<br />

00022xxx<br />

22<br />

00333xxx<br />

333<br />

04444xxx<br />

4444<br />

3E6FFxx<br />

3E6FF<br />

7F800xx<br />

7F800<br />

type<br />

refers to the 2-character page descriptor code of the page range in the NSS. It<br />

indicates the type of virtual machine access permitted to pages in the range.<br />

The first character is either E for exclusive access or S for shared access.<br />

Sharing of storage between virtual machines is based on 1 MB segments, so<br />

that all 256 pages in any one segment must be either exclusive or shared.<br />

The second character of the page descriptor code defines the storage<br />

protection characteristics of the page. These character designators follow:<br />

v R indicates that page protection is used to make the page range read-only.<br />

v W means that the page is not protected, <strong>and</strong> users have read/write access.<br />

v N st<strong>and</strong>s for “read/write, no data saved,” meaning that the page is treated as<br />

a new page when the user refers to it. The contents of, <strong>and</strong> storage keys for,<br />

no-data-saved pages are not saved by the SAVESYS comm<strong>and</strong>.<br />

v C st<strong>and</strong>s for “<strong>CP</strong>-writable, virtual machine read-only, no data saved,”<br />

meaning virtual machines have read-only access to these pages, but <strong>CP</strong><br />

services may change the data in the pages.<br />

The contents of <strong>and</strong> storage keys for no-data-saved pages are not saved by the<br />

SAVESYS comm<strong>and</strong>.<br />

Valid page descriptor codes are:<br />

DEFSYS<br />

Code Meaning<br />

EW Exclusive read/write access<br />

EN Exclusive read/write access, no data saved<br />

ER Exclusive read-only access<br />

SW Shared read/write access<br />

SN Shared read/write access, no data saved<br />

SR Shared read-only access<br />

SC <strong>CP</strong>-writable pages, shared read-only access by virtual machine, no data<br />

saved<br />

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

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

Saved successfully!

Ooh no, something went wrong!