mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
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.
This commit is contained in:
parent
29226beefe
commit
0c0a8c9f35
@ -3420,7 +3420,7 @@ int qemuProcessStart(virConnectPtr conn,
|
|||||||
int port = qemuProcessNextFreePort(driver, QEMU_REMOTE_PORT_MIN);
|
int port = qemuProcessNextFreePort(driver, QEMU_REMOTE_PORT_MIN);
|
||||||
if (port < 0) {
|
if (port < 0) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("Unable to find an unused VNC port"));
|
"%s", _("Unable to find an unused port for VNC"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
vm->def->graphics[0]->data.vnc.port = port;
|
vm->def->graphics[0]->data.vnc.port = port;
|
||||||
@ -3432,7 +3432,7 @@ int qemuProcessStart(virConnectPtr conn,
|
|||||||
|
|
||||||
if (port < 0) {
|
if (port < 0) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("Unable to find an unused SPICE port"));
|
"%s", _("Unable to find an unused port for SPICE"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3445,7 +3445,7 @@ int qemuProcessStart(virConnectPtr conn,
|
|||||||
vm->def->graphics[0]->data.spice.port + 1);
|
vm->def->graphics[0]->data.spice.port + 1);
|
||||||
if (tlsPort < 0) {
|
if (tlsPort < 0) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
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);
|
qemuProcessReturnPort(driver, port);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user