svn commit: r298039 - head/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Fri Apr 15 07:48:42 UTC 2016
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);
More information about the svn-src-head
mailing list