VIR_FREE(match);
if (def->match < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- "%s", _("Invalid match attribute for CPU specification"));
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+ _("Invalid match attribute for CPU "
+ "specification"));
goto error;
}
}
ret = virXPathULong("string(./topology[1]/@sockets)",
ctxt, &ul);
if (ret < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- "%s", _("Missing 'sockets' attribute in CPU topology"));
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+ _("Missing 'sockets' attribute in CPU topology"));
goto error;
}
def->sockets = (unsigned int) ul;
ret = virXPathULong("string(./topology[1]/@cores)",
ctxt, &ul);
if (ret < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- "%s", _("Missing 'cores' attribute in CPU topology"));
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+ _("Missing 'cores' attribute in CPU topology"));
goto error;
}
def->cores = (unsigned int) ul;
ret = virXPathULong("string(./topology[1]/@threads)",
ctxt, &ul);
if (ret < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- "%s", _("Missing 'threads' attribute in CPU topology"));
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+ _("Missing 'threads' attribute in CPU topology"));
goto error;
}
def->threads = (unsigned int) ul;
if (n > 0) {
if (!def->model) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- "%s", _("Non-empty feature list specified without CPU model"));
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+ _("Non-empty feature list specified without "
+ "CPU model"));
goto error;
}