if (!virTypedParamsCheck(params, nparams, compatParams,
G_N_ELEMENTS(compatParams))) {
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("Some parameters are not supported by migration "
- "protocol 2"));
+ _("Some parameters are not supported by migration protocol 2"));
return -1;
}
if (!virTypedParamsCheck(params, nparams, compatParams,
G_N_ELEMENTS(compatParams))) {
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("Some parameters are not supported by migration "
- "protocol 3"));
+ _("Some parameters are not supported by migration protocol 3"));
return -1;
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the source host"));
+ _("offline migration is not supported by the source host"));
goto error;
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the destination host"));
+ _("offline migration is not supported by the destination host"));
goto error;
}
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the source host"));
+ _("offline migration is not supported by the source host"));
goto error;
}
rc = VIR_DRV_SUPPORTS_FEATURE(dconn->driver, dconn,
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the destination host"));
+ _("offline migration is not supported by the destination host"));
goto error;
}
}
if (flags & VIR_MIGRATE_PEER2PEER) {
virReportInvalidArg(flags, "%s",
- _("use virDomainMigrateToURI3 for peer-to-peer "
- "migration"));
+ _("use virDomainMigrateToURI3 for peer-to-peer migration"));
goto error;
}
if (flags & VIR_MIGRATE_TUNNELLED) {
virReportInvalidArg(flags, "%s",
- _("cannot perform tunnelled migration "
- "without using peer2peer flag"));
+ _("cannot perform tunnelled migration without using peer2peer flag"));
goto error;
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the source host"));
+ _("offline migration is not supported by the source host"));
goto error;
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the destination host"));
+ _("offline migration is not supported by the destination host"));
goto error;
}
}
if (!virTypedParamsCheck(params, nparams, compatParams,
G_N_ELEMENTS(compatParams))) {
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("Migration APIs with extensible parameters are not "
- "supported but extended parameters were passed"));
+ _("Migration APIs with extensible parameters are not supported but extended parameters were passed"));
goto error;
}
VIR_DEBUG("Using migration protocol 2");
if (dxml) {
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("Unable to change target guest XML during "
- "migration"));
+ _("Unable to change target guest XML during migration"));
goto error;
}
ddomain = virDomainMigrateVersion2(domain, dconn, flags,
VIR_DEBUG("Using migration protocol 1");
if (dxml) {
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("Unable to change target guest XML during "
- "migration"));
+ _("Unable to change target guest XML during migration"));
goto error;
}
ddomain = virDomainMigrateVersion1(domain, dconn, flags,
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("offline migration is not supported by "
- "the source host"));
+ _("offline migration is not supported by the source host"));
return -1;
}
}
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("p2p migration is not supported by "
- "the source host"));
+ _("p2p migration is not supported by the source host"));
return -1;
}
} else {
if (rc <= 0) {
if (rc == 0)
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
- _("direct migration is not supported by "
- "the source host"));
+ _("direct migration is not supported by the source host"));
return -1;
}
}
case VIR_DOMAIN_METADATA_TITLE:
if (metadata && strchr(metadata, '\n')) {
virReportInvalidArg(metadata, "%s",
- _("metadata title can't contain "
- "newlines"));
+ _("metadata title can't contain newlines"));
goto error;
}
G_GNUC_FALLTHROUGH;
if (dom->conn != conn) {
virReportError(VIR_ERR_INVALID_ARG, "%s",
- _("domains in 'doms' array must belong to a "
- "single connection"));
+ _("domains in 'doms' array must belong to a single connection"));
goto cleanup;
}