Dave Voutila <[email protected]> writes: > CVSROOT: /cvs > Module name: src > Changes by: [email protected] 2025/11/25 07:02:51 > > Modified files: > usr.sbin/vmd : arm64_vm.c virtio.c virtio.h vm.c vmd.h > x86_vm.c > > Log message: mea culpa...managed to goof up the cvs commit + vi for log message:
Allow vmd(8) virtio hardware init to fail so we can clean up. Remove a bunch of fatal() paths so we can return a failure when trying to initialize virtio devices. This lets us clean up any child processes created when we fork/exec things like virtio block and network devices. This is part of my overall effort to make vmd(8) not just abort and instead clean up its messes before exit. ok mlarkin@
