On Thu, Sep 11, 2025 at 06:07:57PM +, Richard Henderson wrote:
> On 9/10/25 18:03, Daniel P. Berrangé wrote:
> > @@ -157,10 +157,6 @@ static void print_loc(bool cur, error_print_func
> > print_func, void *print_opaque)
> > int i;
> > const char *const *argp;
> > -if (!cur && g_
On 9/11/25 18:07, Richard Henderson wrote:
On 9/10/25 18:03, Daniel P. Berrangé wrote:
@@ -157,10 +157,6 @@ static void print_loc(bool cur, error_print_func print_func, void
*print_opaque)
int i;
const char *const *argp;
- if (!cur && g_get_prgname()) {
- print_func(print_
On 9/10/25 18:03, Daniel P. Berrangé wrote:
@@ -157,10 +157,6 @@ static void print_loc(bool cur, error_print_func
print_func, void *print_opaque)
int i;
const char *const *argp;
-if (!cur && g_get_prgname()) {
-print_func(print_opaque, "%s:", g_get_prgname());
-
The error_report function can include the program name in any
messages it prints. The qemu_log function has no equivalent
behaviour.
This introduces support for a "program name" in the new
messages API, which will be included by default for all
binaries.
This change tweaks the output of the error