1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-10 17:57:25 +03:00

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.
This commit is contained in:
Cole Robinson 2016-03-18 18:33:05 -04:00
parent 2dabe2e03e
commit c770472c48

View File

@ -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;