From: dv Date: Fri, 9 Feb 2024 14:35:47 +0000 (+0000) Subject: Tuck vmd's i8253 reset debug logs behind DPRINTF. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=445bc9d25143f37ba53f4e81effe41aa2fffaa98;p=openbsd Tuck vmd's i8253 reset debug logs behind DPRINTF. It's super chatty and pollutes verbose logging. --- diff --git a/usr.sbin/vmd/i8253.c b/usr.sbin/vmd/i8253.c index 9cc06d3f35c..100dd0891e9 100644 --- a/usr.sbin/vmd/i8253.c +++ b/usr.sbin/vmd/i8253.c @@ -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 * @@ -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);