Hello all,
i have a problem with PCI Passthrough "Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA" to VM.
i follow the https://www.google.com/url?sa=t&sou...n.com/en/wiki/Enable_Proxmox_PCIe_Passthrough
And i have on the hosts side:
on the gust side:
i able to get link status on the host side:
but there is nothing on the guest side:
VM settings
VM Spec:
root 15024 1 4 13:35 ? 00:00:38 /usr/bin/kvm -id 110 -name RL8-LTFS,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/var/run/qemu-server/110.qmp,server=on,wait=off -mon chardev=qmp,mode=control -chardev socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/110.pid -daemonize -smbios type=1,uuid=f52f800c-66fe-4ab9-be0a-5932cad5233e -smp 4,sockets=2,cores=2,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vnc unix:/var/run/qemu-server/110.vnc,password=on -cpu host,+kvm_pv_eoi,+kvm_pv_unhalt -m 2048 -object iothread,id=iothread-virtioscsi0 -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device vmgenid,guid=7a98ef2b-ee99-44aa-ba9c-8319efbabea4 -device usb-tablet,id=tablet,bus=ehci.0,port=1 -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on -device vfio-pci,host=0000:03:00.1,id=hostpci0.1,bus=pci.0,addr=0x10.1 -device VGA,id=vga,bus=pcie.0,addr=0x1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on -iscsi initiator-name=iqn.1993-08.org.debian:01:852a717ac4a2 -drive file=/mnt/local2/images/110/vm-110-cloudinit.qcow2,if=none,id=drive-ide0,media=cdrom,aio=io_uring -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0 -drive if=none,id=drive-ide2,media=cdrom,aio=io_uring -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101 -device virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0 -drive file=/dev/pve/vm-110-disk-0,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on -device scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100 -netdev type=tap,id=net0,ifname=tap110i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=BC:24:11:15:FE:CE,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256,bootindex=102 -machine type=q35+pve0
Please advise.
i have a problem with PCI Passthrough "Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA" to VM.
i follow the https://www.google.com/url?sa=t&sou...n.com/en/wiki/Enable_Proxmox_PCIe_Passthrough
And i have on the hosts side:
Code:
03:00.0 Fibre Channel [0c04]: Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA [1657:0013] (rev 01)
Subsystem: Cavium QLogic 425/825 4Gbps/8Gbps PCIe dual port FC HBA [1657:0014]
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 13
Memory at 82220000 (64-bit, non-prefetchable) [size=128K]
Memory at 82244000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at 82180000 [disabled] [size=512K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI-X: Enable- Count=24 Masked-
Capabilities: [60] Express Endpoint, MSI 1e
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [180] Power Budgeting <?>
Kernel driver in use: vfio-pci
Kernel modules: bfa
03:00.1 Fibre Channel [0c04]: Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA [1657:0013] (rev 01)
Subsystem: Cavium QLogic 425/825 4Gbps/8Gbps PCIe dual port FC HBA [1657:0014]
Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 13
Memory at 82200000 (64-bit, non-prefetchable) [size=128K]
Memory at 82240000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at 82100000 [disabled] [size=512K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI-X: Enable- Count=24 Masked-
Capabilities: [60] Express Endpoint, MSI 1f
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Power Budgeting <?>
Kernel driver in use: vfio-pci
Kernel modules: bfa
on the gust side:
Code:
06:10.0 Fibre Channel [0c04]: Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA [1657:0013] (rev 01)
Subsystem: Cavium QLogic 425/825 4Gbps/8Gbps PCIe dual port FC HBA [1657:0014]
Physical Slot: 16-2
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at fdf40000 (64-bit, non-prefetchable) [size=128K]
Memory at fdf80000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at fde00000 [disabled] [size=512K]
Capabilities: <access denied>
06:10.1 Fibre Channel [0c04]: Cavium QLogic 425/825/42B/82B 4Gbps/8Gbps PCIe dual port FC HBA [1657:0013] (rev 01)
Subsystem: Cavium QLogic 425/825 4Gbps/8Gbps PCIe dual port FC HBA [1657:0014]
Physical Slot: 16-2
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fdf60000 (64-bit, non-prefetchable) [size=128K]
Memory at fdf84000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at fde80000 [disabled] [size=512K]
Capabilities: <access denied>
i able to get link status on the host side:
Code:
root@proxmox:~# cat /sys/class/fc_host/host*/port_state
Online
Linkdown
but there is nothing on the guest side:
Code:
[apl@RL8-LTFS ~]$ ls -la /sys/class/fc_host/
total 0
drwxr-xr-x. 2 root root 0 Nov 15 21:46 .
drwxr-xr-x. 63 root root 0 Nov 15 21:36 ..
VM settings
VM Spec:
root 15024 1 4 13:35 ? 00:00:38 /usr/bin/kvm -id 110 -name RL8-LTFS,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/var/run/qemu-server/110.qmp,server=on,wait=off -mon chardev=qmp,mode=control -chardev socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/110.pid -daemonize -smbios type=1,uuid=f52f800c-66fe-4ab9-be0a-5932cad5233e -smp 4,sockets=2,cores=2,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vnc unix:/var/run/qemu-server/110.vnc,password=on -cpu host,+kvm_pv_eoi,+kvm_pv_unhalt -m 2048 -object iothread,id=iothread-virtioscsi0 -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device vmgenid,guid=7a98ef2b-ee99-44aa-ba9c-8319efbabea4 -device usb-tablet,id=tablet,bus=ehci.0,port=1 -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on -device vfio-pci,host=0000:03:00.1,id=hostpci0.1,bus=pci.0,addr=0x10.1 -device VGA,id=vga,bus=pcie.0,addr=0x1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on -iscsi initiator-name=iqn.1993-08.org.debian:01:852a717ac4a2 -drive file=/mnt/local2/images/110/vm-110-cloudinit.qcow2,if=none,id=drive-ide0,media=cdrom,aio=io_uring -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0 -drive if=none,id=drive-ide2,media=cdrom,aio=io_uring -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101 -device virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0 -drive file=/dev/pve/vm-110-disk-0,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on -device scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100 -netdev type=tap,id=net0,ifname=tap110i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=BC:24:11:15:FE:CE,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256,bootindex=102 -machine type=q35+pve0
Please advise.