Messages in this thread | | | Date | Tue, 13 Jul 2021 20:51:43 +0000 | From | Sean Christopherson <> | Subject | Re: [RFC PATCH v2 38/69] KVM: x86: Add option to force LAPIC expiration wait |
| |
On Tue, Jul 06, 2021, Paolo Bonzini wrote: > On 03/07/21 00:04, isaku.yamahata@intel.com wrote: > > From: Sean Christopherson <sean.j.christopherson@intel.com> > > > > Add an option to skip the IRR check in kvm_wait_lapic_expire(). This > > will be used by TDX to wait if there is an outstanding notification for > > a TD, i.e. a virtual interrupt is being triggered via posted interrupt > > processing. KVM TDX doesn't emulate PI processing, i.e. there will > > never be a bit set in IRR/ISR, so the default behavior for APICv of > > querying the IRR doesn't work as intended. > > > > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> > > Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> > > Is there a better (existing after the previous patches) flag to test, or > possibly can it use vm_type following the suggestion I gave for patch 28?
Not sure if there's a "better" flag, but there's most definitely a flag somewhere that will suffice :-)
| |