Expand description
The machine a guest runs on, as Hermit describes it: one description that every guest-visible source of machine facts reads, so that they tell the same story on every backend and every host (https://github.com/rrnewton/hermit/issues/4266).
Today uname, sysinfo and the fixed procfs files (procfs::fixed)
read it, and the CPU count: /proc/stat, /proc/cpuinfo, the CPU files
under /sys and the per-CPU tables. The rest of the virtual CPU (CPUID’s
table, sched_getaffinity) still has its own sources, which this
description is to absorb; the design lists every source that must agree.
The values are fixed. They may come only from Hermit’s configuration (today: the epoch, the memory size and the CPU count), never from the host.
Structs§
- Kernel
- The running kernel.
- Kernel
Limits - The kernel’s fixed limits and settings.
- Machine
Description - The machine a guest sees.