[PATCH] kvm: pass the virtual SEI syndrome to guest OS
Peter Maydell
peter.maydell at linaro.org
Tue Mar 28 04:33:59 PDT 2017
On 28 March 2017 at 12:23, Christoffer Dall <cdall at linaro.org> wrote:
> On Tue, Mar 28, 2017 at 11:48:08AM +0100, James Morse wrote:
>> On the host, part of UEFI is involved to generate the CPER records.
>> In a guest?, I don't know.
>> Qemu could generate the records, or drive some other component to do it.
>
> I think I am beginning to understand this a bit. Since the guet UEFI
> instance is specifically built for the machine it runs on, QEMU's virt
> machine in this case, they could simply agree (by some contract) to
> place the records at some specific location in memory, and if the guest
> kernel asks its guest UEFI for that location, things should just work by
> having logic in QEMU to process error reports and populate guest memory.
Is "write direct to guest memory" the best ABI here or would
it be preferable to use the fw_cfg interface for the guest UEFI
to retrieve the data items on demand?
Is there a pre-existing "this is how it works on x86" implementation?
thanks
-- PMM
More information about the linux-arm-kernel
mailing list