[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v3 3/4] 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.
---
 src/qemu/qemu_process.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 05b2f18..654cb51 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -3425,7 +3425,7 @@ int qemuProcessStart(virConnectPtr conn,

             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;
@@ -3440,7 +3440,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;
             }
             vm->def->graphics[0]->data.spice.port = port;
@@ -3452,7 +3452,7 @@ int qemuProcessStart(virConnectPtr conn,
                     port = qemuProcessNextFreePort(driver, vm->def->graphics[0]->data.spice.port + 1);
                 if (port < 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;
                 }
-- 
1.7.8.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]