2018-07-16 17:24-0700, Peter Shier: > From: Andrew Honig <ahonig@xxxxxxxxxx> > > Prior to this change if userspace set the local apic state while there > was a posted interrupt waiting, then the posted interrupt would not be > cleared. > > To fix this issue we clear all the not-yet-delivered posted interrupts > and put them in the apic, so that when userspace overwrites the apic, > registers, it also clears any posted interrupts. > > Signed-off-by: Andrew Honig <ahonig@xxxxxxxxxx> > Signed-off-by: Peter Shier <pshier@xxxxxxxxxx> > --- Isn't this already covered by 967235d32032 ("KVM: vmx: clear pending interrupts on KVM_SET_LAPIC")? Thanks.