MSI-x on KVM prevents VMs from accessing the network
Also, enable it (MSI-X on KVM) by default.
The receive queue was getting full before interrupts were enabled, which meant the device would never trigger any interrupts. We just needed to clear the queue as we enabled interrupts to solve this issue.
I also added a couple of small improvements to the vioif code in this diff.
KVM systems use a pci bus which always supports a version >= 2.2 of the PCI standard. When we're checking whether the system we're on supports MSI-x, we should recognize this fact (either by detecting the version of the PCI bus, or by recognizing that we're on KVM).
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 970db7b7a5b4656c659fc7c5226da7be313dc336 Author: Dan Kimmel <firstname.lastname@example.org> Date: 2016-07-01T02:45:02.000Z 7089 MSI-x on KVM prevents VMs from accessing the network Reviewed by: Sebastien Roy <email@example.com> Reviewed by: Daniel Hoffman <firstname.lastname@example.org> Reviewed by: Prachetaa Raghavan <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>