Re: [PATCH v5 02/22] KVM: arm/arm64: Add GICV3 pending table save API documentation

Christoffer Dall
2017-04-26T13:14:21Z

On Wed, Apr 26, 2017 at 02:01:55PM +0100, Peter Maydell wrote:
> On 26 April 2017 at 14:00, Christoffer Dall <cdall@linaro.org> wrote:
> > Alternatively we should mark a pending error notification to the guest
> > in KVM, so that when the guest boots it gets something like an SError
> > instead, given that presumably the guest wrote the weird value. Except
> > of course if the problem is caused by QEMU fudging with the register
> > value for the PENDBASER.
>
> If we have scope for complaining at the guest we should do it at
> the point where the guest sets PENDBASER in the first place...
>

Is that what the hardware would have done?

Also, userspace could restore a bogus value in the PENDBASER (even
though the guest wrote something sane), so maybe we should just keep
this as is and handle it nicely in QEMU?

Thanks,
-Christoffer

> thanks
> -- PMM