Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2015 07:47:00 +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-10@freebsd.org
Subject:   svn commit: r280803 - stable/10/sys/dev/virtio/pci
Message-ID:  <201503290747.t2T7l0A1056625@svn.freebsd.org>

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

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

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

Modified: stable/10/sys/dev/virtio/pci/virtio_pci.c
==============================================================================
--- stable/10/sys/dev/virtio/pci/virtio_pci.c	Sun Mar 29 06:05:00 2015	(r280802)
+++ stable/10/sys/dev/virtio/pci/virtio_pci.c	Sun Mar 29 07:46:59 2015	(r280803)
@@ -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);



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