From owner-svn-src-all@FreeBSD.ORG Sun Mar 15 21:00:11 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB367AC0; Sun, 15 Mar 2015 21:00:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A798436E; Sun, 15 Mar 2015 21:00:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2FL0Bdj076158; Sun, 15 Mar 2015 21:00:11 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2FL0BW0076156; Sun, 15 Mar 2015 21:00:11 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201503152100.t2FL0BW0076156@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Sun, 15 Mar 2015 21:00:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280090 - in head/sys/dev/virtio: mmio pci X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2015 21:00:11 -0000 Author: mav Date: Sun Mar 15 21:00:10 2015 New Revision: 280090 URL: https://svnweb.freebsd.org/changeset/base/280090 Log: Hide virtio features negotiation messages under bootverbose. Those messages are noisy, but useless for average user. MFC after: 2 weeks Modified: head/sys/dev/virtio/mmio/virtio_mmio.c head/sys/dev/virtio/pci/virtio_pci.c Modified: head/sys/dev/virtio/mmio/virtio_mmio.c ============================================================================== --- head/sys/dev/virtio/mmio/virtio_mmio.c Sun Mar 15 20:55:23 2015 (r280089) +++ head/sys/dev/virtio/mmio/virtio_mmio.c Sun Mar 15 21:00:10 2015 (r280090) @@ -702,7 +702,7 @@ vtmmio_describe_features(struct vtmmio_s dev = sc->dev; child = sc->vtmmio_child_dev; - if (device_is_attached(child) && bootverbose == 0) + if (device_is_attached(child) || bootverbose == 0) return; virtio_describe(dev, msg, features, sc->vtmmio_child_feat_desc); Modified: head/sys/dev/virtio/pci/virtio_pci.c ============================================================================== --- head/sys/dev/virtio/pci/virtio_pci.c Sun Mar 15 20:55:23 2015 (r280089) +++ head/sys/dev/virtio/pci/virtio_pci.c Sun Mar 15 21:00:10 2015 (r280090) @@ -730,7 +730,7 @@ vtpci_describe_features(struct vtpci_sof dev = sc->vtpci_dev; child = sc->vtpci_child_dev; - if (device_is_attached(child) && bootverbose == 0) + if (device_is_attached(child) || bootverbose == 0) return; virtio_describe(dev, msg, features, sc->vtpci_child_feat_desc);