]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: modify 3 error messages
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 18 Jun 2012 09:07:17 +0000 (11:07 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 21 Aug 2012 09:36:32 +0000 (11:36 +0200)
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.

src/qemu/qemu_process.c

index 4463134be4d0f054570c7feefe520258c5273f52..41fa2ab091ad16c6af217ac864fa5ed8e5023936 100644 (file)
@@ -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;
                 }