if (l_nic->script && !(actual_type == VIR_DOMAIN_NET_TYPE_BRIDGE ||
actual_type == VIR_DOMAIN_NET_TYPE_ETHERNET)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("specifying a script is only supported with "
- "interface types bridge and ethernet"));
+ _("specifying a script is only supported with interface types bridge and ethernet"));
return -1;
}
def->os.type == VIR_DOMAIN_OSTYPE_XENPVH) &&
l_nic->model != VIR_DOMAIN_NET_MODEL_NETFRONT) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("only model 'netfront' is supported for "
- "Xen PV(H) domains"));
+ _("only model 'netfront' is supported for Xen PV(H) domains"));
return -1;
}
x_nic->model = g_strdup(virDomainNetGetModelString(l_nic));
}
if (libxl_ctx_alloc(&cfg->ctx, LIBXL_VERSION, 0, (xentoollog_logger *)cfg->logger)) {
- VIR_ERROR(_("cannot initialize libxenlight context, probably not "
- "running in a Xen Dom0, disabling driver"));
+ VIR_ERROR(_("cannot initialize libxenlight context, probably not running in a Xen Dom0, disabling driver"));
return -1;
}
if ((cfg->verInfo = libxl_get_version_info(cfg->ctx)) == NULL) {
- VIR_ERROR(_("cannot version information from libxenlight, "
- "disabling driver"));
+ VIR_ERROR(_("cannot version information from libxenlight, disabling driver"));
return -1;
}
cfg->version = (cfg->verInfo->xen_version_major * 1000000) +
}
} else {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
- _("Refusing to undefine while domain managed "
- "save image exists"));
+ _("Refusing to undefine while domain managed save image exists"));
goto cleanup;
}
}
if (libxlDomainAttachControllerDevice(driver, vm, controller) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("No available USB controller and port, and "
- "failed to attach a new one"));
+ _("No available USB controller and port, and failed to attach a new one"));
virDomainControllerDefFree(controller);
goto cleanup;
}
if (STRPREFIX(hostname, "localhost")) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("hostname on destination resolved to localhost,"
- " but migration requires an FQDN"));
+ _("hostname on destination resolved to localhost, but migration requires an FQDN"));
goto endjob;
}
if (useParams <= 0) {
if (useParams == 0)
virReportError(VIR_ERR_OPERATION_FAILED, "%s",
- _("Destination libvirt does not support migration"
- " with extensible parameters"));
+ _("Destination libvirt does not support migration with extensible parameters"));
goto cleanup;
}
/* Check if domain is alive */
if (!virDomainObjIsActive(vm)) {
/* Migration failed if domain is inactive */
- virReportError(VIR_ERR_OPERATION_FAILED,
- "%s", _("Migration failed. Domain is not running "
- "on destination host"));
+ virReportError(VIR_ERR_OPERATION_FAILED, "%s",
+ _("Migration failed. Domain is not running on destination host"));
goto cleanup;
}