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

Reply via email to