if (! STRPREFIX(name, "sd")) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Expecting domain XML attribute 'dev' of entry "
- "'devices/disk/target' to start with 'sd'"));
+ _("Expecting domain XML attribute 'dev' of entry 'devices/disk/target' to start with 'sd'"));
return -1;
}
if (! STRPREFIX(name, "hd")) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Expecting domain XML attribute 'dev' of entry "
- "'devices/disk/target' to start with 'hd'"));
+ _("Expecting domain XML attribute 'dev' of entry 'devices/disk/target' to start with 'hd'"));
return -1;
}
if (! STRPREFIX(name, "fd")) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Expecting domain XML attribute 'dev' of entry "
- "'devices/disk/target' to start with 'fd'"));
+ _("Expecting domain XML attribute 'dev' of entry 'devices/disk/target' to start with 'fd'"));
return -1;
}
if (def->description != NULL) {
if (virVMXUnescapeHexPipe(def->description) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("VMX entry 'annotation' contains invalid escape "
- "sequence"));
+ _("VMX entry 'annotation' contains invalid escape sequence"));
goto cleanup;
}
}
cpu->sockets = numvcpus / coresPerSocket;
if (cpu->sockets <= 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("VMX entry 'cpuid.coresPerSocket' smaller than "
- "'numvcpus'"));
+ _("VMX entry 'cpuid.coresPerSocket' smaller than 'numvcpus'"));
goto cleanup;
}
cpu->dies = 1;
/* def:maxvcpus -> vmx:numvcpus */
if (virDomainDefHasVcpusOffline(def)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("No support for domain XML entry 'vcpu' attribute "
- "'current'"));
+ _("No support for domain XML entry 'vcpu' attribute 'current'"));
goto cleanup;
}
maxvcpus = virDomainDefGetVcpusMax(def);
if (maxvcpus == 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Expecting domain XML entry 'vcpu' to be greater "
- "than 0"));
+ _("Expecting domain XML entry 'vcpu' to be greater than 0"));
goto cleanup;
}