Bug 1244348

Summary: Quirk for Chelsio T5 MSI-X PBA
Product: Red Hat Enterprise Linux 7 Reporter: Alex Williamson <alex.williamson>
Component: qemu-kvm-rhevAssignee: Alex Williamson <alex.williamson>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: chayang, juzhang, michen, mrezanin, rbalakri, virt-bugs, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: qemu-kvm-rhev-2.3.0-13.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1244347 Environment:
Last Closed: 2015-12-04 16:52:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1244347    
Bug Blocks:    

Description Alex Williamson 2015-07-17 20:36:00 UTC
+++ This bug was initially created as a clone of Bug #1244347 +++

Description of problem:
Chelsio T5 adapters incorrectly list the MSI-X Pending Bit Array (PBA) table at an offset beyond the PCI BAR containing it.  The guest does not use the PBA, but vfio does as part of mapping device regions for the guest.  When attempting to assign one of these devices to a VM, the call to msix_init() will fail due to this inconsistency.  A quirk has been added to the QEMU vfio-pci driver correct this problem in the case of a Chelsio T5 adapter and error with a useful message indicating a hardware problem in the general case.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Attempt to assign Chelsio T5 to a guest

Actual results:
Device fails to attach on hot plug, VM startup failure on cold plug (presumably, we don't have any)

Expected results:
Device attaches/VM starts

Additional info:
Upstream patch:

Comment 4 Miroslav Rezanina 2015-07-24 11:09:06 UTC
Fix included in qemu-kvm-rhev-2.3.0-13.el7

Comment 7 juzhang 2015-08-03 03:46:09 UTC
According to comment6, set this issue as verified.

Comment 9 errata-xmlrpc 2015-12-04 16:52:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.