Re: [PATCH v4 12/15] KVM: SVM: Introduce hybrid-AVIC mode

From: Suthikulpanit, Suravee
Date: Mon May 09 2022 - 07:23:50 EST


Maxim / Paolo,

On 5/8/2022 9:39 AM, Suravee Suthikulpanit wrote:
Currently, AVIC is inhibited when booting a VM w/ x2APIC support.
because AVIC cannot virtualize x2APIC MSR register accesses.
However, the AVIC doorbell can be used to accelerate interrupt
injection into a running vCPU, while all guest accesses to x2APIC MSRs
will be intercepted and emulated by KVM.

With hybrid-AVIC support, the APICV_INHIBIT_REASON_X2APIC is
no longer enforced.

Suggested-by: Maxim Levitsky<mlevitsk@xxxxxxxxxx>
Reviewed-by: Maxim Levitsky<mlevisk@xxxxxxxxxx>

Sorry for a typo here in the email of the "Reviewed-by" line.

Suravee