Re: [PATCH 07/12] KVM: nVMX: Disable vmcs02 posted interrupts if vmcs12 PID isn't mappable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 24, 2021, Jim Mattson wrote:
> On Mon, May 24, 2021 at 5:11 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> >
> > Can we instead word it along the lines of:
> >
> >   Defer the KVM_INTERNAL_EXIT until KVM actually attempts to consume the posted
> >   interrupt descriptor on behalf of the vCPU.  Note, KVM may process posted
> >   interrupts when it architecturally should not.  Bugs aside, userspace can at
> >   least rely on KVM to not process posted interrupts if there is no (posted?)
> >   interrupt activity whatsoever.
> 
> How about:
> 
> Defer the KVM_INTERNAL_EXIT until KVM tries to access the contents of
> the VMCS12 posted interrupt descriptor. (Note that KVM may do this
> when it should not, per the architectural specification.)

Works for me!



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux