svn commit: r280804 - stable/9/sys/dev/virtio/pci

Alexander Motin mav at FreeBSD.org
Sun Mar 29 07:48:03 UTC 2015


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);


More information about the svn-src-stable-9 mailing list