diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2023-04-28 19:46:43 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2023-04-28 19:46:43 +0000 |
commit | c6132cfad55574e0b25d1ce0002e634d80d445df (patch) | |
tree | a858b01a2f10f82db74cc6bbf073b1236f279158 /lib/libelf | |
parent | bfbe96e3e8b68c8d0791af5113636aea4c6094be (diff) |
vmd(8)/vmctl(8): allow vm owners to override boot kernel.
vmd allows non-root users to "own" a vm defined in vm.conf(5). While
the user can start/stop the vm, if they break their filesystem they
have no means of booting recovery media like a ramdisk kernel.
This change opens the provided boot kernel via vmctl and passes the
file descriptor through the control channel to vmd. The next boot
of the vm will use the provided file descriptor as boot kernel/bios.
Subsequent boots (e.g. a reboot) will return to using behavior
defined in vm.conf or the default bios image.
ok mlarkin@
Diffstat (limited to 'lib/libelf')
0 files changed, 0 insertions, 0 deletions