I am trying to get my QLogic Corp. ISP2432-based 4Gb Fibre Channel card passed through to a Centos 7 guest, I have the pci passthrough setup and I can see the qla device in centos so the passthrough all seems to be working.
However when centos guest starts up and initialises the fibre target the whole host crashes.
I have blacklisted the qla2xxx module on the host and have confirmed in the hosts dmesg that its not using the device directly.
I have also tried the other method of stopping the host using the card.
Anything else I can do?
One this to note is I had to run this
because without doing this after adding the pci card to the guest it would not start.
It seemed like I shouldn't need to add that as the result from script (on this https://pve.proxmox.com/wiki/Pci_passthrough) "Alternatively, run the following script to determine if your system has interrupt remapping support: " was ok.
Also the dmesg mesage here suggested that I should not have to allow unsafe_interrupts?
However when centos guest starts up and initialises the fibre target the whole host crashes.
I have blacklisted the qla2xxx module on the host and have confirmed in the hosts dmesg that its not using the device directly.
I have also tried the other method of stopping the host using the card.
Code:
options vfio-pci ids=1234:5678
Anything else I can do?
One this to note is I had to run this
Code:
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
because without doing this after adding the pci card to the guest it would not start.
It seemed like I shouldn't need to add that as the result from script (on this https://pve.proxmox.com/wiki/Pci_passthrough) "Alternatively, run the following script to determine if your system has interrupt remapping support: " was ok.
Also the dmesg mesage here suggested that I should not have to allow unsafe_interrupts?
Code:
[ 1.816549] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c90780106f0462 ecap f020fe