From: dv Date: Fri, 12 Jul 2024 13:51:12 +0000 (+0000) Subject: Quiet vmd debug logging about page faults. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2744f0957b55b9be7cd297c6176560a7eed05bc4;p=openbsd Quiet vmd debug logging about page faults. When we get bumped to userland and the fault is already handled, don't log anything. It's way too chatty and helps nobody trying to debug things. --- diff --git a/usr.sbin/vmd/x86_vm.c b/usr.sbin/vmd/x86_vm.c index c6c4b2a9ed7..d0caf98dd12 100644 --- a/usr.sbin/vmd/x86_vm.c +++ b/usr.sbin/vmd/x86_vm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x86_vm.c,v 1.1 2024/07/10 10:41:19 dv Exp $ */ +/* $OpenBSD: x86_vm.c,v 1.2 2024/07/12 13:51:12 dv Exp $ */ /* * Copyright (c) 2015 Mike Larkin * @@ -674,7 +674,6 @@ vcpu_exit_eptviolation(struct vm_run_params *vrp) #endif /* MMIO_NOTYET */ switch (ve->vee.vee_fault_type) { case VEE_FAULT_HANDLED: - log_debug("%s: fault already handled", __func__); break; #if MMIO_NOTYET