At present the DEBUG_HDA knob is forced turned in bhyve, causing output to /tmp/bhyve_hda.log unconditionally.
I noticed this because I happened to fill /tmp.
My opinion is that this is not correct behaviour for production systems, so I produced a patch to make DEBUG_HDA disabled by default.
While here I also propose to introduce a define HDA_DEBUG_FILE (defaulting to the same /tmp/bhyve_hda.log file used at present) to change the output path.
The other changes related to hda_print_cmd_ctl_data() are needed to make the build suceed whan DEBUG_HDA is off. Otherwise clang errors out about unused argument, since the function resolves to an empty one when DEBUG_HDA is off.