qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 27/38] vnc: Clean up error reporting in vnc_i


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH v4 27/38] vnc: Clean up error reporting in vnc_init_func()
Date: Fri, 19 Oct 2018 08:52:29 +0200
User-agent: NeoMutt/20180716

On Wed, Oct 17, 2018 at 10:26:51AM +0200, Markus Armbruster wrote:
> Calling error_report() in a function that takes an Error ** argument
> is suspicious.  vnc_init_func() does that, and then fails without
> setting an error.  Its caller main(), via qemu_opts_foreach(), is fine
> with it, but clean it up anyway.
> 
> While there, drop a "Failed to start VNC server: " error message
> prefix that doesn't really add value.
> 
> Cc: Gerd Hoffmann <address@hidden>
> Signed-off-by: Markus Armbruster <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Reviewed-by: Gerd Hoffmann <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]