On Wed, Jan 14, 2026 at 01:47:11PM +0100, Markus Armbruster wrote:
> A number of print functions are documented to print to "current
> monitor if we have one, else stderr".  Wrong, they print to the
> current monitor only when it's HMP.  This is the case since commit
> 4ad417baa43 (error: Print error_report() to stderr if using qmp).
> 
> Fix the comments to say "current HMP monitor if we have one".
> 
> Signed-off-by: Markus Armbruster <[email protected]>
> ---
>  include/qapi/error.h |  3 ++-
>  monitor/monitor.c    |  2 +-
>  util/error-report.c  | 26 ++++++++++++++++----------
>  util/qemu-print.c    |  4 ++--
>  4 files changed, 21 insertions(+), 14 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to