CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2023/01/22 15:18:40
Modified files: usr.sbin/vmd : vmd.c Log message: vmd(8): don't remove known vm's from the config on error. Multiple error paths, specifically the one related to if a guest cannot allocate memory at start, resulted in a known vm (via vm.conf(5)) being removed from the vm list. Adjust the error paths to check if the failing vm is defined in the config before tearing it down. Tested with help from beck@ and Mischa Peters. ok beck@