Project

General

Profile

Actions

Bug #7089

closed

MSI-x on KVM prevents VMs from accessing the network

Added by Matthew Ahrens over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2016-06-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

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).

Actions

Also available in: Atom PDF