From: Martin Kletzander Date: Mon, 18 Jun 2012 09:07:17 +0000 (+0200) Subject: qemu: modify 3 error messages X-Git-Tag: v0.10.0-rc1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c0a8c9f3595d718a4c7991bd0f4bf8fc153e67b;p=thirdparty%2Flibvirt.git qemu: modify 3 error messages After the cleanup of remote display port allocation, I noticed some messages that didn't make a lot of sense the way they were written. So I rephrased them. --- diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 4463134be4..41fa2ab091 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -3420,7 +3420,7 @@ int qemuProcessStart(virConnectPtr conn, int port = qemuProcessNextFreePort(driver, QEMU_REMOTE_PORT_MIN); if (port < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, - "%s", _("Unable to find an unused VNC port")); + "%s", _("Unable to find an unused port for VNC")); goto cleanup; } vm->def->graphics[0]->data.vnc.port = port; @@ -3432,7 +3432,7 @@ int qemuProcessStart(virConnectPtr conn, if (port < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, - "%s", _("Unable to find an unused SPICE port")); + "%s", _("Unable to find an unused port for SPICE")); goto cleanup; } @@ -3445,7 +3445,7 @@ int qemuProcessStart(virConnectPtr conn, vm->def->graphics[0]->data.spice.port + 1); if (tlsPort < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, - "%s", _("Unable to find an unused SPICE TLS port")); + "%s", _("Unable to find an unused port for SPICE TLS")); qemuProcessReturnPort(driver, port); goto cleanup; }