pub fn vm_worker() -> BuilderExpand description
Build the OpenVMM VM worker policy.
Preserves the caller’s network namespace and leaves mbind available for
host NUMA placement of guest RAM.
On Linux, grants individual loader and resolver/NSS configuration files,
rather than all of /etc. It also grants /dev/sev and /dev/vfio/vfio
for existing worker-side opens; other device handles should be supplied
explicitly. These device exceptions are not conditional on VM configuration.
Read-only /sys/devices and /sys/bus/pci/devices grants expose hardware
metadata beyond the assigned devices so PCI aliases and BAR metadata can
resolve. Optional configuration, device, and alias paths must exist when
the profile is built. Paths created later require rebuilding the profile.