Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2015 07:48:02 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r280804 - stable/9/sys/dev/virtio/pci
Message-ID:  <201503290748.t2T7m2UC056876@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Mar 29 07:48:02 2015
New Revision: 280804
URL: https://svnweb.freebsd.org/changeset/base/280804

Log:
  MFC r280090: Hide virtio features negotiation messages under bootverbose.
  
  Those messages are noisy, but useless for average user.

Modified:
  stable/9/sys/dev/virtio/pci/virtio_pci.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/virtio/pci/virtio_pci.c
==============================================================================
--- stable/9/sys/dev/virtio/pci/virtio_pci.c	Sun Mar 29 07:46:59 2015	(r280803)
+++ stable/9/sys/dev/virtio/pci/virtio_pci.c	Sun Mar 29 07:48:02 2015	(r280804)
@@ -727,7 +727,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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503290748.t2T7m2UC056876>