提交 e8266c4c 编写于 作者: J Jorgen Hansen 提交者: Greg Kroah-Hartman

VMCI: Stop log spew when qp allocation isn't possible

VMCI queue pair allocation is disabled, if a VM is in FT mode. In
these cases, VMware Tools may still once in a while attempt to
create a vSocket stream connection, resulting in multiple
warnings in the kernel logs. Therefore downgrade the error log to
a debug log.
Reviewed-by: NVishnu Dasa <vdasa@vmware.com>
Signed-off-by: NJorgen Hansen <jhansen@vmware.com>
Link: https://lore.kernel.org/r/1611160340-30158-1-git-send-email-jhansen@vmware.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 fc716ffb
...@@ -1207,7 +1207,7 @@ static int qp_alloc_guest_work(struct vmci_handle *handle, ...@@ -1207,7 +1207,7 @@ static int qp_alloc_guest_work(struct vmci_handle *handle,
} else { } else {
result = qp_alloc_hypercall(queue_pair_entry); result = qp_alloc_hypercall(queue_pair_entry);
if (result < VMCI_SUCCESS) { if (result < VMCI_SUCCESS) {
pr_warn("qp_alloc_hypercall result = %d\n", result); pr_devel("qp_alloc_hypercall result = %d\n", result);
goto error; goto error;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册