提交 c770472c 编写于 作者: C Cole Robinson

bhyve: caps: Log error message when CPU init fails

virBhyveCapsInitCPU will raise a libvirt error; even though we treat
it as non-fatal we should log the actual message.
上级 2dabe2e0
......@@ -97,7 +97,7 @@ virBhyveCapsBuild(void)
goto error;
if (virBhyveCapsInitCPU(caps, virArchFromHost()) < 0)
VIR_WARN("Failed to get host CPU");
VIR_WARN("Failed to get host CPU: %s", virGetLastErrorMessage());
return caps;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册