PCI passthroug Fiber Channel controller

flexyz

Well-Known Member
Sep 22, 2016
154
9
58
53
Hi

I need to PCI passthrough an Emulex Fiber Channel Adaptor to a Windows server, is this correct?

(I need to be 100% sure proxmox is not using the Fiber Channel Adaptor)

1. # lspci | grep Emulex

06:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)

2. #vi /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

3. # update-grub

4. # nano /etc/modules

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

5. # nano /etc/pve/qemu-server/<vmid>.conf

machine: q35
hostpci0: 06:00.0,pcie=1

6. # update-initramfs -k all -u

7. # reboot

Shoud I also "blacklist" the Emulex driver?

8. # echo "blacklist xxxxx" >> /etc/modprobe.d/blacklist.conf
 
In theory yes. Your CPU needs to have support for that. I tried myself but failed due to no hardware support von my >4y xeon servers.
 
I can see the Emulex card appears inside my Windows 2012 R2, but have not yet tried to connect to the fabric - is it connected to a SAN, so need to be sure disks/LUNS are not being initialized etc.
 
You should see entries in dmesg about the device on the host. You can also check, if there are other fc adapters present in

Code:
cat /sys/class/scsi_host/host?/device/fc_host*/host?/port_name
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!