qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: "Dr. David Alan Gilbert" <dave@treblig.org>
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
	qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
	"Yanan Wang" <wangyanan55@huawei.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Fabiano Rosas" <farosas@suse.de>,
	"Eric Blake" <eblake@redhat.com>,
	"Laurent Vivier" <lvivier@redhat.com>,
	"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
	"Zhao Liu" <zhao1.liu@intel.com>,
	"Eduardo Habkost" <eduardo@habkost.net>
Subject: Re: [PATCH v3] hw/uefi: add "info firmware-log" + "query-firmware-log" monitor commands
Date: Sat, 11 Oct 2025 06:43:54 +0200	[thread overview]
Message-ID: <87347qdp4l.fsf@pond.sub.org> (raw)
In-Reply-To: <aOlrRNIUijmj1V4Q@gallifrey> (David Alan Gilbert's message of "Fri, 10 Oct 2025 20:23:32 +0000")

"Dr. David Alan Gilbert" <dave@treblig.org> writes:

> * Markus Armbruster (armbru@redhat.com) wrote:

[...]

>> Moreover, it happily prints control characters even without
>> handle_ovmf_log_range() fixed.
>> 
>> If the log is ASCII (see below), you could use g_strescape().  Copies
>> the string on the heap yet again.  Meh.
>
> That's probably the wrong thing for hmp; you want cr,lf and maybe tabs
> to pass straight through - you want a log to be correctly line formatted;
> you just want to stop nasties getting through.

Use the @exceptions argument.



  reply	other threads:[~2025-10-11  4:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-10  7:10 [PATCH v3] hw/uefi: add "info firmware-log" + "query-firmware-log" monitor commands Gerd Hoffmann
2025-10-10  9:12 ` Daniel P. Berrangé
2025-10-10  9:27   ` Gerd Hoffmann
2025-10-10  9:31     ` Daniel P. Berrangé
2025-10-13  8:42       ` Gerd Hoffmann
2025-10-10 11:41 ` Markus Armbruster
2025-10-10 17:36   ` Markus Armbruster
2025-10-10 20:23     ` Dr. David Alan Gilbert
2025-10-11  4:43       ` Markus Armbruster [this message]
2025-10-11  9:29     ` Markus Armbruster
2025-10-13  9:19   ` Gerd Hoffmann
2025-10-13 10:43     ` Markus Armbruster
2025-10-13 11:47       ` Gerd Hoffmann
2025-10-10 20:36 ` Dr. David Alan Gilbert
2025-10-13 11:55   ` Gerd Hoffmann
2025-10-13 13:12     ` Dr. David Alan Gilbert
2025-10-13 19:11 ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87347qdp4l.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=dave@treblig.org \
    --cc=eblake@redhat.com \
    --cc=eduardo@habkost.net \
    --cc=farosas@suse.de \
    --cc=kraxel@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=wangyanan55@huawei.com \
    --cc=zhao1.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).