[libvirt] [PATCH v3 3/4] qemu: modify 3 error messages
Daniel P. Berrange
berrange at redhat.com
Tue Aug 14 09:43:28 UTC 2012
On Mon, Aug 13, 2012 at 03:21:24PM +0200, Martin Kletzander wrote:
> 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;
> }
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list