From: Jovanka Gulicoska Date: Mon, 23 May 2016 18:35:56 +0000 (+0200) Subject: bhyve: Replace VIR_ERROR with standard vir*Error in state driver init X-Git-Tag: v1.3.5-rc1~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86d1ae04792c2c493578d67a380717f9b4f04323;p=thirdparty%2Flibvirt.git bhyve: Replace VIR_ERROR with standard vir*Error in state driver init Replace VIR_ERROR with virReportError --- diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c index c58286fd87..c4051a1c16 100644 --- a/src/bhyve/bhyve_driver.c +++ b/src/bhyve/bhyve_driver.c @@ -88,8 +88,9 @@ 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"), - vm->def->name, virGetLastErrorMessage()); + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Failed to autostart VM '%s': %s"), + vm->def->name, virGetLastErrorMessage()); } } virObjectUnlock(vm);