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:
parent
2dabe2e03e
commit
c770472c48
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user