Re: [PATCH RFC] virtio-pci: share config interrupt between virtio devices

Stefan Fritsch
2014-09-18T19:36:49Z

On Monday 01 September 2014 09:37:30, Michael S. Tsirkin wrote:
> Why do we need INT#x?
> How about setting IRQF_SHARED for the config interrupt
> while using MSI-X? You'd have to read ISR to check that the
> interrupt was intended for your device.

The virtio 0.9.5 spec says that ISR is "unused" when in MSI-X mode. I
don't think that you can depend on the device to set the configuration
changed bit.

The virtio 1.0 spec seems to have fixed that.