diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2023-01-22 22:18:41 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2023-01-22 22:18:41 +0000 |
commit | 39a1f356e875f8fc826664a85bb51619f70a0a9d (patch) | |
tree | 4069c02f2f91064d6b1378c53a0717aa145a9054 /sbin/pfctl | |
parent | 1cacd5bf8159cefeace97012cd3084c4e9308aa9 (diff) |
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@
Diffstat (limited to 'sbin/pfctl')
0 files changed, 0 insertions, 0 deletions