Ok for those of you that have seen my prior posts I am still trying to work out the right config for PCI passthrough on my Lenovo M720q Tiny. I love this device but getting the right config to work is causing me major stomach acid! I am running ZFS as my filesystem, so I have SystemD handling the config.
As of right now I have the following configured on my device:
CMDLINE:
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt pci_pt_e820_access=on pci=assign-busses pcie_acs_override=downstream,multifunction i915.enable_gvt=1
MODULES:
vfio
vfio_iommu_type1
vfio_pci
kvmgt
I can see my Intel I350 4 port network card and iGPU have a separate IOMMU group for each interface:
0x020000 │ 0x1521 │ 0000:01:00.0 │ 8 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.1 │ 9 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.2 │ 10 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.3 │ 11 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x030000 │ 0x3e92 │ 0000:00:02.0 │ 0 │ 0x8086 │ CoffeeLake-S GT2 [UHD Graphics 630] │ 1 │ 0x312d │
So now some questions I cannot seem to get an answer to:
1) Do I need to blacklist my Intel network driver for passthrough to work? I have seen posts where some have blacklisted and others have not.
2) Do I need to blacklist my Intel iGPU driver for mediated access to work?
3) Do I need a VFIO config that identifies the I350 ports and iGPU for passthrough to work, where the driver is replaced by VFIO-PCI?
4) Should my passthrough PCI devices be showing up in Mapped or Raw Devices section?
Thanks,
Steve
As of right now I have the following configured on my device:
CMDLINE:
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt pci_pt_e820_access=on pci=assign-busses pcie_acs_override=downstream,multifunction i915.enable_gvt=1
MODULES:
vfio
vfio_iommu_type1
vfio_pci
kvmgt
I can see my Intel I350 4 port network card and iGPU have a separate IOMMU group for each interface:
0x020000 │ 0x1521 │ 0000:01:00.0 │ 8 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.1 │ 9 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.2 │ 10 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x020000 │ 0x1521 │ 0000:01:00.3 │ 11 │ 0x8086 │ I350 Gigabit Network Connection │ │ 0x0001 │ Ethernet Server A
├──────────┼────────┼──────────────┼────────────┼────────┼─────────────────────────────────────────────────────────────────────────────────────────┼──────┼──────────────────┼──────────────────
│ 0x030000 │ 0x3e92 │ 0000:00:02.0 │ 0 │ 0x8086 │ CoffeeLake-S GT2 [UHD Graphics 630] │ 1 │ 0x312d │
So now some questions I cannot seem to get an answer to:
1) Do I need to blacklist my Intel network driver for passthrough to work? I have seen posts where some have blacklisted and others have not.
2) Do I need to blacklist my Intel iGPU driver for mediated access to work?
3) Do I need a VFIO config that identifies the I350 ports and iGPU for passthrough to work, where the driver is replaced by VFIO-PCI?
4) Should my passthrough PCI devices be showing up in Mapped or Raw Devices section?
Thanks,
Steve