hyperv/vmbus: Put multi-channel offer logging under bootverbose

Suggested by:	Dexuan Cui <decui microsoft com>
MFC after:	1 week
Sponsored by:	Microsoft OSTC
This commit is contained in:
sephe 2016-04-15 07:48:41 +00:00
parent 35f0fde238
commit ef894df277

View File

@ -219,10 +219,14 @@ vmbus_channel_process_offer(hv_vmbus_channel *new_channel)
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);