mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 09:55:18 +00:00
bhyve: Replace VIR_ERROR with standard vir*Error in state driver init
Replace VIR_ERROR with virReportError
This commit is contained in:
parent
9cdac8afc9
commit
86d1ae0479
@ -88,7 +88,8 @@ bhyveAutostartDomain(virDomainObjPtr vm, void *opaque)
|
||||
ret = virBhyveProcessStart(data->conn, data->driver, vm,
|
||||
VIR_DOMAIN_RUNNING_BOOTED, 0);
|
||||
if (ret < 0) {
|
||||
VIR_ERROR(_("Failed to autostart VM '%s': %s"),
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Failed to autostart VM '%s': %s"),
|
||||
vm->def->name, virGetLastErrorMessage());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user