| Date | Thu, 25 Nov 2021 21:50:39 +0100 | Subject | Re: [RFC PATCH v3 28/59] KVM: x86: Check for pending APICv interrupt in kvm_vcpu_has_events() | From | Paolo Bonzini <> |
| |
On 11/25/21 01:20, isaku.yamahata@intel.com wrote: > From: Sean Christopherson<sean.j.christopherson@intel.com> > > Return true for kvm_vcpu_has_events() if the vCPU has a pending APICv > interrupt to support TDX's usage of APICv. Unlike VMX, TDX doesn't have > access to vmcs.GUEST_INTR_STATUS and so can't emulate posted interrupts, > i.e. needs to generate a posted interrupt and more importantly can't > manually move requested interrupts into the vIRR (which it also doesn't > have access to).
Does this mean it is impossible to disable APICv on TDX? If so, please add a WARN.
Paolo
|