Re: [PATCH V2 06/12] virtio_pci: harden MSI-X interrupts

From: Jason Wang
Date: Wed Oct 13 2021 - 22:30:08 EST


On Wed, Oct 13, 2021 at 5:59 PM Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
>
> On Tue, Oct 12, 2021 at 02:52:21PM +0800, Jason Wang wrote:
> > We used to synchronize pending MSI-X irq handlers via
> > synchronize_irq(), this may not work for the untrusted device which
> > may keep sending interrupts after reset which may lead unexpected
> > results. Similarly, we should not enable MSI-X interrupt until the
> > device is ready.
>
> You mean until the driver is ready.

RIght, I will fix it.

Thanks