CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2024/11/06 16:04:45
Modified files: usr.sbin/vmd : psp.c virtio.c vmd.h vmm.c Log message: Fix vmd(8) logging to syslog(3) from child process. Log messages from vmd(8) child processes went to /dev/null. Re-exec set the -n option, which in turn sets vmd_noaction and vmd_debug. Debugging means no more syslog(3), but stderr, which is /dev/null for a daemon. Remove -n from child re-exec, it does not have any effect except looging. Pass on the -d flag when debugging. The VMD_VERBOSE defines are more confusing than useful, just write -v like all the other options. Rework creation of execvp arguments. Do not use tab in syslog messages, space is sufficient. OK mlarkin@ hshoexer@ dv@