Re: [PATCH] KVM: x86: Inhibit APICv/AVIC when changing apic id/base from the defaults

From: Sean Christopherson
Date: Fri May 20 2022 - 11:26:34 EST


On Fri, May 20, 2022, Zeng Guang wrote:
> From: Maxim Levitsky <mlevitsk@xxxxxxxxxx>
>
> Neither of these settings should be changed by the guest and it is a burden
> to support it in the acceleration code, so just inhibit APICv/AVIC in case
> such rare cases happen.
>
> Signed-off-by: Maxim Levitsky <mlevitsk@xxxxxxxxxx>
> Signed-off-by: Zeng Guang <guang.zeng@xxxxxxxxx>
> ---

All of my comments on Maxim's posting still apply[*]. At this point, unless Paolo
wants wield his hammer of authority and do a bunch of fixup, the fastest way forward
will be to wait for Maxim to respond and post patches 1-3 of that series separately.

[*] https://lore.kernel.org/all/YoZrG3n5fgMp4LQl@xxxxxxxxxx