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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to