Tuck vmd's i8253 reset debug logs behind DPRINTF.
authordv <dv@openbsd.org>
Fri, 9 Feb 2024 14:35:47 +0000 (14:35 +0000)
committerdv <dv@openbsd.org>
Fri, 9 Feb 2024 14:35:47 +0000 (14:35 +0000)
It's super chatty and pollutes verbose logging.

usr.sbin/vmd/i8253.c

index 9cc06d3..100dd08 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: i8253.c,v 1.38 2023/10/25 12:44:28 dv Exp $ */
+/* $OpenBSD: i8253.c,v 1.39 2024/02/09 14:35:47 dv Exp $ */
 /*
  * Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
  *
@@ -298,8 +298,8 @@ vcpu_exit_i8253(struct vm_run_params *vrp)
                                if (i8253_channel[sel].start == 0)
                                        i8253_channel[sel].start = 0xffff;
 
-                               log_debug("%s: channel %d reset, mode=%d, "
-                                   "start=%d", __func__,
+                               DPRINTF("%s: channel %d reset, mode=%d, "
+                                   "start=%d\n", __func__,
                                    sel, i8253_channel[sel].mode,
                                    i8253_channel[sel].start);