Re: [PATCH 27/31] DEBUG

From: Mauro Carvalho Chehab
Date: Sat Dec 07 2024 - 03:33:20 EST


Em Sat, 07 Dec 2024 07:16:31 +0100
Markus Armbruster <armbru@xxxxxxxxxx> escreveu:

> Ani Sinha <anisinha@xxxxxxxxxx> writes:
>
> > On Fri, Dec 6, 2024 at 10:51 PM Mauro Carvalho Chehab
> > <mchehab+huawei@xxxxxxxxxx> wrote:
> >>
> >> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> >> ---
> >> hw/acpi/ghes.c | 2 ++
> >> 1 file changed, 2 insertions(+)
> >>
> >> diff --git a/hw/acpi/ghes.c b/hw/acpi/ghes.c
> >> index abca351b18de..1fe4c536611a 100644
> >> --- a/hw/acpi/ghes.c
> >> +++ b/hw/acpi/ghes.c
> >> @@ -534,9 +534,11 @@ void ghes_record_cper_errors(const void *cper, size_t len,
> >> ags = &acpi_ged_state->ghes_state;
> >>
> >> if (!ags->hest_lookup) {
> >> + fprintf(stderr,"Using old GHES lookup\n");
> >
> > I don't like this. If you must please have them under #ifdef DEBUG or
> > somesuch. See ich9.c
>
> Judging from the subject line, it's not meant to be posted, let alone
> merged :)

Sorry! Yea, this was not meant to be posted.

I ended submitting the entire pile of patches I have pending, including some
patches I placed at the end to test that what method is used to calculate
offsets (the one supported up to current QEMU version, which is limted,
and the new one that uses backport logic).

I'll submit the right patches again. Please ignore this.

Regards,
Mauro