1 \chapter{Named Saved Systems
}
4 A Named Saved System (NSS) is saved storage image that can be IPLed under a
5 given name. The image can be reloaded and execution resumed.
7 NSS improve performance by allowing sharing of static pages between guests.
8 Additionally, these static pages, if unmodified by the guest, do not have to
9 be paged out. Instead, they may be simply discarded and later reloaded from
12 The contents of the storage image may be thought of as the contents of
13 storage at any time during a systems execution.
15 It is possible to take a running system, quiesce all I/O and save the
16 storage contents. Since the contents of the registers and I/O device states
17 are not explicitly stored, the system must take care to store any and all
18 state it wishes to keep. A simple way to store all the processor state is
19 to issue a store status operation.
21 \section{Named Saved System File Format
}
22 Each NSS is saved in a single file using the ELF file format. (See
23 section~
\ref{sec:elf
} for ELF file format details.) The ELF header class
24 ELFCLASS32 indicates a
\mbox{31-bit
} system, while ELFCLASS64 indicates a
27 The guest storage is saved as one or more segments. Each segment's type is
28 LOAD. The guest registers and other system state is not stored.
30 Outcome of loading a NSS with overlapping segments is unpredictable.
32 HVF has two variants for NSS formats. For both formats, the NSS IPL process
33 loads the storage image from the NSS file. The only difference between the
34 two formats are the source of the new PSW.
36 \subsection{Load-Format
}
37 The PSW is cleared. If the saved system is a
\mbox{31-bit
} image, bit~
12 of
38 the PSW is set. The PSW address is set to the ELF header's entry address.
40 The Load-Format is denoted by ELF header type of ET
\_EXEC.
42 \subsection{Restart-Format
}
43 \note{HVF currently does not support this format.
}
45 The PSW is loaded storage location denoting the new restart PSW. The
46 address from which the restart PSW is loaded depends on the architecture
49 The Restart-Format is denoted by ELF header type of ET
\_CORE.