3 The directory contains a list of all valid users on the system. Currently,
4 any changes to the directory require that the nucleus be rebuilt, and the
7 \section{Directory Syntax
}
8 The directory is a simple text file with a declarative syntax used to
9 describe all the virtual machines.
11 All empty lines and lines with only white space are ignored.
14 Each virtual machine definition must begin with a USER statement specifying
15 the userid and the authorization level. All statements following the USER
16 statement are applied to this userid definition until another USER statement
20 \tok{USER
} <userid> <auth>
24 A
\cbstart MACHINE
\cbend statement specifies the architectural level and
25 number of virtual processors. Currently, HVF ignores this statement and
26 always instantiates a single z/Architecture virtual processor.
30 \tok{MACHINE
} <type> <numcpus>
34 The STORAGE statement may appear only once within a virtual machine's
35 definition. It specifies the amount of memory allocated to the guest. The
36 size is scaled by the optional scale --- K (
\mbox{1,
024}), M
37 (
\mbox{1,
048,
576}), or G (
\mbox{1,
073,
741,
824}).
39 Note that the size must be a multiple of
64kB and that the directory parser
40 does not check for this.
53 The CONSOLE statement defines a system console. There can be only one
54 CONSOLE statement per virtual machine definition of type
3125. Currently,
55 HVF does not check for this.
58 \tok{CONSOLE
} <vdev> <type>
61 The SPOOL statement may appear arbitrary number of times per virtual machine
62 definision. Each occurence defines a virtual device with the virtual device
63 number vdev handled by HVF's spooling facility.
65 The expected type for a READER is
3505. The expected type for a PUNCH is
66 3525. The expected type for PRINT is
1403.
69 \tok{SPOOL
} <vdev> <type>
77 The MDISK statement defines a minidisk residing on rdev (a DASD of type
78 type) starting at cylinder off and being len cylinders long.
81 \tok{MDISK
} <vdev> <type> <off> <len> <rdev>
84 The DEDICATE statement defines a dedicated virtual device.
87 \tok{DEDICATE
} <vdev> <rdev>
91 \section{Example Directory
}
92 Figure~
\ref{fig:directory-sample
} is the default directory distributed with
93 HVF. It defines several users with nearly identical configurations.
97 \lstinputlisting{../../cp/config/hvf.directory
}
99 \caption{\capfont Example directory defining three users.
}
100 \label{fig:directory-sample
}