svn commit: r280090 - in head/sys/dev/virtio: mmio pci
Alexander Motin
mav at FreeBSD.org
Sun Mar 15 21:00:11 UTC 2015
Author: mav
Date: Sun Mar 15 21:00:10 2015
New Revision: 280090
URL: https://svnweb.freebsd.org/changeset/base/280090
Log:
Hide virtio features negotiation messages under bootverbose.
Those messages are noisy, but useless for average user.
MFC after: 2 weeks
Modified:
head/sys/dev/virtio/mmio/virtio_mmio.c
head/sys/dev/virtio/pci/virtio_pci.c
Modified: head/sys/dev/virtio/mmio/virtio_mmio.c
==============================================================================
--- head/sys/dev/virtio/mmio/virtio_mmio.c Sun Mar 15 20:55:23 2015 (r280089)
+++ head/sys/dev/virtio/mmio/virtio_mmio.c Sun Mar 15 21:00:10 2015 (r280090)
@@ -702,7 +702,7 @@ vtmmio_describe_features(struct vtmmio_s
dev = sc->dev;
child = sc->vtmmio_child_dev;
- if (device_is_attached(child) && bootverbose == 0)
+ if (device_is_attached(child) || bootverbose == 0)
return;
virtio_describe(dev, msg, features, sc->vtmmio_child_feat_desc);
Modified: head/sys/dev/virtio/pci/virtio_pci.c
==============================================================================
--- head/sys/dev/virtio/pci/virtio_pci.c Sun Mar 15 20:55:23 2015 (r280089)
+++ head/sys/dev/virtio/pci/virtio_pci.c Sun Mar 15 21:00:10 2015 (r280090)
@@ -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);
More information about the svn-src-head
mailing list