vmd(8): fix verbose logging in child processes.
authordv <dv@openbsd.org>
Thu, 27 Jul 2023 09:27:43 +0000 (09:27 +0000)
committerdv <dv@openbsd.org>
Thu, 27 Jul 2023 09:27:43 +0000 (09:27 +0000)
commit61f4cd73731b746d6e9ca8a3fd7836083daa5bd3
tree9d062e883481fae0de7d830e98dab7e9d0c5485c
parent2287d13a721783c23c3036e2df45e2d342fd91bb
vmd(8): fix verbose logging in child processes.

The introduction of exec for vm's and fork+exec for virtio block
and network devices missed passing the log verbosity in argv. Add
the "-v" arguments based on current vverbosity at time of exec.

ok brynet@, mlarkin@
usr.sbin/vmd/virtio.c
usr.sbin/vmd/vmd.h
usr.sbin/vmd/vmm.c