Red Hat Bugzilla – Bug 834514
NPIV - SAN pass-through to the guest
Last modified: 2016-09-14 11:21:43 EDT
1. Proposed title of this feature request
NPIV - SAN pass-through to the guest
2. Who is the customer behind the request?
Account name: IZB Informatik-Zentrum Munchen-Frankfurt a.M. GmbH & Co. KG
TAM/SRM customer: yes, TAM customer
Strategic Customer yes/no: yes
3. What is the nature and description of the request?
The customer needs the possibility to NPIV pass through to the guest.
4. Why does the customer need this? (List the business requirements here)
"we need the implementation to pass-through SAN to our instances (guests) directly, so e.g. we'll be able to do a live migration of our guests."
5. How would the customer like to achieve this? (List the functional
6. For each functional requirement listed in question 5, specify how Red Hat
and the customer can test to confirm the requirement is successfully
Be able to pass the NPIV through to the guest (and therefore see the virtual HBA?)
7. Is there already an existing RFE upstream or in Red Hat bugzilla?
Apparently not one for this particular request.
8. Does the customer have any specific timeline dependencies?
There is no specific timeline, but the sooner the better.
9. Is the sales team involved in this request and do they have any additional input?
10. List any affected packages or components.
Libvirt? not sure
11. Would the customer be able to assist in testing this functionality if
They would be able to help us testing
(In reply to comment #0)
> 3. What is the nature and description of the request?
> The customer needs the possibility to NPIV pass through to the guest.
> 4. Why does the customer need this? (List the business requirements here)
> "we need the implementation to pass-through SAN to our instances (guests)
> directly, so e.g. we'll be able to do a live migration of our guests."
It is currently possible to live migrate a guest with storage that is accessed through NPIV, although it is currently quite a manual process. A brief overview of what's involved is at:
Would it be sufficient for the customer's needs to associate the vHBA with the guest so that the setup/teardown of the vHBA happened automatically?
> 6. For each functional requirement listed in question 5, specify how Red Hat
> and the customer can test to confirm the requirement is successfully
> Be able to pass the NPIV through to the guest (and therefore see the virtual
The vHBA cannot be attached to the guest as Linux userspace has no ability to access an HBA directly. Note that the vHBAs created with NPIV are not PCI devices, and thus cannot be passed through to guests. This design is in the linux kernel and cannot be worked around by any userspace component.
In short, I think the implementation that the customer has requested is not likely to be feasible, but I hope that we can provide an alternative implementation which fulfils their needs.
Just to clarify this:
It is not sufficient to pass Devices presented via N_Port Virtualisation to the guest, but to passthorugh the complete vHBA to be able to independently run the VM (adding new FC-Devices, etc.).
This is how, e.g. IBM LPARs are working. VMWare and afaik also HyperV are also able to passthrough a virtualised adapter.
As far as I digged into the issue, we would need qemu support and libvirt support for that, as it is currently only possible to passthrough targets from the NPIV Adapter.
This scenario btw. can be easily solved by direct lun attachment as well, so this is not the key-usecase for NP(I)V.
There are also some requests for this in the Solution as well.
I attached the Solution to this BZ, so one can read the Comments there as well.
*** This bug has been marked as a duplicate of bug 1349115 ***