Date: Fri, 15 Apr 2016 07:48:41 +0000 (UTC) From: Sepherosa Ziehau <sephe@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298039 - head/sys/dev/hyperv/vmbus Message-ID: <201604150748.u3F7mf5P032820@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604150748.u3F7mf5P032820>