[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240914073848.7b8bd8f0@foz.lan>
Date: Sat, 14 Sep 2024 07:38:48 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Igor Mammedov <imammedo@...hat.com>
Cc: Jonathan Cameron <Jonathan.Cameron@...wei.com>, Shiju Jose
<shiju.jose@...wei.com>, "Michael S. Tsirkin" <mst@...hat.com>, Ani Sinha
<anisinha@...hat.com>, Dongjiu Geng <gengdongjiu1@...il.com>,
<linux-kernel@...r.kernel.org>, <qemu-arm@...gnu.org>,
<qemu-devel@...gnu.org>
Subject: Re: [PATCH v8 06/13] acpi/ghes: add support for generic error
injection via QAPI
Em Fri, 13 Sep 2024 14:28:02 +0200
Igor Mammedov <imammedo@...hat.com> escreveu:
> > > 5. Just return an error code without doing any resets. To me, this is
> > > the worse scenario.
> > >
> > > I don't like (5), as if something bad happens, there's nothing to be
> > > done.
> >
> > If it happens on a real system nothing is done either. So I'm not sure
> > we need to handle that. Or maybe real hardware reinjects the interrupt
> > if the OSPM hasn't done anything about it for a while.
> >
> > >
> > > For QMP error injection (4) seems is overkill. It may be needed in the
> > > future if we end implementing a logic where host OS informs guest about
> > > hardware problems, and such errors use asynchronous notifications.
> > >
> > > I would also avoid implementing (3) at least for now, as reporting
> > > such error via QMP seems enough for the QMP usecase.
> > >
> > > So, if ok for you, I'll change the code to (2).
> >
> > Whilst I don't feel strongly about it, I think 5 is unfortunately the
> > correct option if we aren't going to queue errors in qemu (so make it
> > an injection tool problem).
>
> +1 to option (5)
Ok, will do (5) then.
Thanks,
Mauro
Powered by blists - more mailing lists