mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
Commit0b0f9dc5("Revert "virtio_pci: use shared interrupts for virtqueues"") removed the adjustment of the pre_vectors for the virtio MSI-X vector allocation which was added in commitfb5e31d9("virtio: allow drivers to request IRQ affinity when creating VQs"). This will lead to an incorrect assignment of MSI-X vectors, and potential deadlocks when offlining cpus. Signed-off-by: Christoph Hellwig <[email protected]> Fixes:0b0f9dc5("Revert "virtio_pci: use shared interrupts for virtqueues") Reported-by: YASUAKI ISHIMATSU <[email protected]> Cc: [email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>