Hi!
I try to passthrough Iphone to MacOS VM, but I have no luck.
After some tests, I read that it could be easier to passthrough whole PCI card than single Iphone.
So I bought PCI USB card, and I try to forward it.
Unfortunately when I add whole 0000:37:09, then I have an error:
I will be grateful for any ideas.
I try to passthrough Iphone to MacOS VM, but I have no luck.
After some tests, I read that it could be easier to passthrough whole PCI card than single Iphone.
So I bought PCI USB card, and I try to forward it.
Unfortunately when I add whole 0000:37:09, then I have an error:
Code:
kvm: -device vfio-pci,host=0000:37:09.1,id=hostpci0.1,bus=pci.0,addr=0x10.1: vfio 0000:37:09.1: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Device or resource busy
I will be grateful for any ideas.
Code:
lspci -nnk
37:09.0 USB controller [0c03]: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038] (rev 61)
Subsystem: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038]
Kernel driver in use: vfio-pci
Kernel modules: uhci_hcd
37:09.1 USB controller [0c03]: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038] (rev 61)
Subsystem: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038]
Kernel driver in use: vfio-pci
Kernel modules: uhci_hcd
37:09.2 USB controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 63)
Subsystem: VIA Technologies, Inc. USB 2.0 Controller [1106:3104]
Kernel driver in use: vfio-pci
Kernel modules: ehci_pci
Code:
root@proxmox:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.15.74-1-pve root=UUID=a6fdd198-379e-4698-88dc-5890f524c15f ro quiet intel_iommu=on iommu=pt vfio-pci.ids=1106:3038 pcie_acs_override=downstream
Code:
/sys/kernel/iommu_groups/14/devices/0000:00:1e.0
/sys/kernel/iommu_groups/14/devices/0000:37:05.0
/sys/kernel/iommu_groups/14/devices/0000:37:09.0
/sys/kernel/iommu_groups/14/devices/0000:37:09.1
/sys/kernel/iommu_groups/14/devices/0000:37:09.2
Code:
root@proxmox:~# lspci -nnk | grep 00:1e
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 90)
Code:
root@proxmox:~# find /sys/devices/p* -name "*37:09*"
/sys/devices/pci0000:00/0000:00:1e.0/0000:37:09.2
/sys/devices/pci0000:00/0000:00:1e.0/0000:37:09.0
/sys/devices/pci0000:00/0000:00:1e.0/0000:37:09.1
root@proxmox:~# find /sys/devices/p* -name "*00:1e*"
/sys/devices/pci0000:00/0000:00:1e.0
Code:
[ 0.167305] DMAR-IR: This system BIOS has enabled interrupt remapping
on a chipset that contains an erratum making that
feature unstable. To maintain system stability
interrupt remapping is being disabled. Please
contact your BIOS vendor for an update
[ 154.262214] genirq: Flags mismatch irq 21. 00000000 (vfio-intx(0000:37:09.0)) vs. 00000080 (uhci_hcd:usb3)
Code:
root@proxmox:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1106:3038