Bug 1314131

Summary: RHEV for Power: VFIO passthrough of SR-IOV virtual functions
Product: Red Hat Enterprise Linux 7 Reporter: David Gibson <dgibson>
Component: qemu-kvm-rhevAssignee: David Gibson <dgibson>
Status: CLOSED ERRATA QA Contact: Zhengtong <zhengtli>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: bugproxy, dgibson, hannsj_uhl, jen, juzhang, knoel, leiwang, michen, mtessun, qzhang, virt-maint, ycui, zhengtli
Target Milestone: rcKeywords: TestOnly
Target Release: 7.4   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1427780 (view as bug list) Environment:
Last Closed: 2017-08-01 23:32:13 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:
Embargoed:
Bug Depends On: 1315131, 1421940    
Bug Blocks: 1359843, 1395265, 1401400, 1427780    

Description David Gibson 2016-03-03 01:03:17 UTC
Description of problem:

Need to test that passthrough of SR-IOV virtual functions works correctly.

AFAIK, the existing VFIO passthrough code should work fine as is, but we need to check.

This relies on underlying host (PowerNV) support for SR-IOV, which appears to be missing so far.  Still trying to locate the correct BZ for that, so I can mark the dependency.

Comment 2 David Gibson 2016-07-15 03:26:31 UTC
*** Bug 1356329 has been marked as a duplicate of this bug. ***

Comment 3 David Gibson 2016-07-15 03:27:20 UTC
This is blocked by lack of host-side SR-IOV support.  Moving back to ASSIGNED state until that's resolved.

Comment 4 David Gibson 2017-01-05 05:57:19 UTC
The host side prerequisite, bug 1315131 is now merged into the RHEL7.4 development tree.  So we should now be able to start testing this.

Since it is TestOnly, moving to ON_QA.

Comment 5 Qunfang Zhang 2017-02-14 07:58:26 UTC
SR-IOV virtual functions could be generated and assigned to guest now, however it doesn't work properly inside guest, QE filed new BZ:

Bug 1421940 - [ppc64le] SR-IOV virtual functions passthrough in VFIO didn't works well in guest

Comment 6 David Gibson 2017-02-15 01:08:23 UTC
Looking at bug 1421940 the VF doesn't initialize in the host, without passthrough, either.  That suggests it is a problem either in a) the VF driver part of be2net or in b) the host side SR-IOV support, rather than a KVM or qemu problem.

Do you have access to any other SR-IOV capable devices, to try to eliminate the VF driver as the cause?

Comment 12 David Gibson 2017-03-20 05:23:15 UTC
Zhengtong, Qunfang,

With the machine borrowed from the RDMA team, are you able to proceed with testing on this bug?  Can I move the status back to ON_QA?

Comment 13 Zhengtong 2017-03-20 06:45:23 UTC
Hi David, I haven't tried with the machine from RDMA yet. But I tried with a intel XL710 adapter occasionally. It worked. So please move the status to ON_QA. I will verify this bug with the machine from RDMA team. thanks.

Comment 15 David Gibson 2017-03-24 02:17:51 UTC
Zhengtong, yes I agree.  I think this bug can be VERIFIED and we track the Mellanox specific problems elsewhere.

Comment 16 Zhengtong 2017-03-24 03:04:29 UTC
Thanks for the confirm , set Verified

Comment 18 errata-xmlrpc 2017-08-01 23:32:13 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.

https://access.redhat.com/errata/RHSA-2017:2392

Comment 19 errata-xmlrpc 2017-08-02 01:09:52 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.

https://access.redhat.com/errata/RHSA-2017:2392

Comment 20 errata-xmlrpc 2017-08-02 02:01:51 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.

https://access.redhat.com/errata/RHSA-2017:2392

Comment 21 errata-xmlrpc 2017-08-02 02:42:37 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.

https://access.redhat.com/errata/RHSA-2017:2392

Comment 22 errata-xmlrpc 2017-08-02 03:07:20 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.

https://access.redhat.com/errata/RHSA-2017:2392

Comment 23 errata-xmlrpc 2017-08-02 03:27:29 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.

https://access.redhat.com/errata/RHSA-2017:2392