[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] 答复: [PATCH RESEND v15 10/10] target-arm: kvm64: handle SI
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] 答复: [PATCH RESEND v15 10/10] target-arm: kvm64: handle SIGBUS signal from kernel or KVM |
Date: |
Thu, 22 Nov 2018 10:30:17 +0000 |
On 22 November 2018 at 10:28, Peter Maydell <address@hidden> wrote:
> On 22 November 2018 at 03:05, gengdongjiu <address@hidden> wrote:
>>> >
>>> Shouldn't there be something in here to say "only report this error to the
>>> guest if we are actually reporting RAS errors to the guest" ?
>>
>> Yes, We can say something that such as "report this error to the guest",
>> because this error is indeed triggered by guest, which is guest error.
>
> I'm afraid I don't really understand what you mean. Could you
> try rephrasing it?
>
> My understanding was:
> * we get this signal if there is a RAS error in the host memory
> * if we are exposing RAS errors to the guest (ie we have
> told it that in the ACPI table we passed it at startup)
> then we should pass on this error to the guest
>
> but that these are two different conditions.
>
> If the host hardware detects a RAS error in memory used
> by the guest but the guest is not being told about RAS
> errors, then we cannot report the error: we have no mechanism
> to do so, and the guest is not expecting it.
If you look at the x86 version of this function you can see that
it tests (env->mcg_cap & MCG_SER_P), which I think is the
equivalent x86 "is the guest CPU/config one we can report
these errors to" test.
thanks
-- PMM
- [Qemu-arm] [PATCH RESEND v15 01/10] ACPI: add some GHES structures and macros definition, (continued)
- [Qemu-arm] [PATCH RESEND v15 01/10] ACPI: add some GHES structures and macros definition, Dongjiu Geng, 2018/11/08
- [Qemu-arm] [PATCH RESEND v15 06/10] docs: APEI GHES generation and CPER record description, Dongjiu Geng, 2018/11/08
- [Qemu-arm] [PATCH RESEND v15 07/10] KVM: Move related hwpoison page functions to accel/kvm/ folder, Dongjiu Geng, 2018/11/08
- [Qemu-arm] [PATCH RESEND v15 05/10] ACPI: Add APEI GHES table generation and CPER record support, Dongjiu Geng, 2018/11/08
- [Qemu-arm] [PATCH RESEND v15 10/10] target-arm: kvm64: handle SIGBUS signal from kernel or KVM, Dongjiu Geng, 2018/11/08
[Qemu-arm] [PATCH RESEND v15 09/10] hw/arm/virt: Add RAS platform version for migration, Dongjiu Geng, 2018/11/08
[Qemu-arm] [PATCH RESEND v15 08/10] target-arm: kvm64: inject synchronous External Abort, Dongjiu Geng, 2018/11/08
Re: [Qemu-arm] [Qemu-devel] [PATCH RESEND v15 00/10] Add ARMv8 RAS virtualization support in QEMU, no-reply, 2018/11/08
Re: [Qemu-arm] [Qemu-devel] [PATCH RESEND v15 00/10] Add ARMv8 RAS virtualization support in QEMU, no-reply, 2018/11/08