Re: [PATCH] kvm: Clear stale posted interrupts when restoring apic state.

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

 



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.



[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