Author: sephe
Date: Fri Apr 15 07:48:41 2016
New Revision: 298039
URL: https://svnweb.freebsd.org/changeset/base/298039

Log:
  hyperv/vmbus: Put multi-channel offer logging under bootverbose
  
  Suggested by: Dexuan Cui <decui microsoft com>
  MFC after:    1 week
  Sponsored by: Microsoft OSTC

Modified:
  head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c

Modified: head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c Fri Apr 15 07:39:43 2016        
(r298038)
+++ head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c Fri Apr 15 07:48:41 2016        
(r298039)
@@ -219,10 +219,14 @@ vmbus_channel_process_offer(hv_vmbus_cha
                            sc_list_entry);
                        mtx_unlock(&channel->sc_lock);
 
+                       if (bootverbose) {
+                               printf("VMBUS get multi-channel offer, "
+                                   "rel=%u, sub=%u\n",
+                                   new_channel->offer_msg.child_rel_id,
+                                   
new_channel->offer_msg.offer.sub_channel_index);    
+                       }
+
                        /* Insert new channel into channel_anchor. */
-                       printf("VMBUS get multi-channel offer, rel=%u,sub=%u\n",
-                           new_channel->offer_msg.child_rel_id,
-                           new_channel->offer_msg.offer.sub_channel_index);    
                        mtx_lock(&hv_vmbus_g_connection.channel_lock);
                        TAILQ_INSERT_TAIL(&hv_vmbus_g_connection.channel_anchor,
                            new_channel, list_entry);                           
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to