Hi Christian As you pointed out this does appear to be an issue with the reduced kernel kvm image. I ran the same setup using a standard image and the interface showed up. However after running your suggested updates from comment A on the kvm kernal image, the interface still did not show up.
If I bring up the guest using a generic image (not the kvm specific kernal) the interface appears for SRIOV VF Linux emsk8sm1 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:8a:9c:ea brd ff:ff:ff:ff:ff:ff inet 192.168.50.243/22 brd 192.168.51.255 scope global ens3 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe8a:9cea/64 scope link valid_lft forever preferred_lft forever 3: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether e2:7e:67:02:77:11 brd ff:ff:ff:ff:ff:ff inet 10.72.2.21/22 brd 10.72.3.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::e07e:67ff:fe02:7711/64 scope link valid_lft forever preferred_lft forever This is the output from Linux 5.4.0-1020-kvm before any updates to linux-image $ ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:8a:9c:ea brd ff:ff:ff:ff:ff:ff inet 192.168.50.243/22 brd 192.168.51.255 scope global ens3 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe8a:9cea/64 scope link valid_lft forever preferred_lft forever 3: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 $ lsmod Module Size Used by loop 28672 6 nls_utf8 12288 0 nls_iso8859_1 12288 1 nls_cp437 16384 1 vfat 16384 1 fat 57344 1 vfat dm_multipath 20480 0 dm_mod 86016 2 dm_multipath kvm_intel 176128 0 pata_acpi 12288 0 ip_tables 20480 0 x_tables 24576 1 ip_tables $ lspci -v 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: fast devsel 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] Subsystem: Red Hat, Inc. Qemu virtual machine Flags: medium devsel 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering]) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: bus master, medium devsel, latency 0 Memory at 000001f0 (32-bit, non-prefetchable) [virtual] [size=8] Memory at 000003f0 (type 3, non-prefetchable) [virtual] Memory at 00000170 (32-bit, non-prefetchable) [virtual] [size=8] Memory at 00000370 (type 3, non-prefetchable) [virtual] I/O ports at c0e0 [virtual] [size=16] Kernel driver in use: ata_piix Kernel modules: pata_acpi 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: medium devsel, IRQ 9 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA controller]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: fast devsel Memory at fc000000 (32-bit, prefetchable) [size=32M] Memory at feb90000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at 000c0000 [disabled] [size=128K] 00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device Subsystem: Red Hat, Inc. Virtio network device Physical Slot: 3 Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c040 [size=32] Memory at feb91000 (32-bit, non-prefetchable) [size=4K] Memory at fe010000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb00000 [disabled] [size=512K] Capabilities: <access denied> Kernel driver in use: virtio-pci 00:04.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c060 [size=32] 00:04.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c080 [size=32] 00:04.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c0a0 [size=32] 00:04.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at feb92000 (32-bit, non-prefetchable) [size=4K] 00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device Subsystem: Red Hat, Inc. Virtio block device Physical Slot: 5 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c000 [size=64] Memory at feb93000 (32-bit, non-prefetchable) [size=4K] Memory at fe014000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: virtio-pci 00:06.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02) Subsystem: Intel Corporation Ethernet Virtual Function 700 Series Physical Slot: 6 Flags: fast devsel Memory at fe000000 (64-bit, prefetchable) [size=64K] Memory at fe018000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> 00:07.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon Subsystem: Red Hat, Inc. Virtio memory balloon Physical Slot: 7 Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c0c0 [size=32] Memory at fe01c000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: virtio-pci After running the following commands $ apt install linux-image-generic $ apt remove linux-image-kvm $ reboot Note the interface does not show up after installing linux-image-generic $ ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:8a:9c:ea brd ff:ff:ff:ff:ff:ff inet 192.168.50.243/22 brd 192.168.51.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe8a:9cea/64 scope link valid_lft forever preferred_lft forever 3: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 $ lsmod Module Size Used by nls_utf8 12288 0 nls_iso8859_1 12288 1 nls_cp437 16384 1 vfat 16384 1 loop 28672 6 fat 57344 1 vfat dm_multipath 20480 0 dm_mod 86016 2 dm_multipath kvm_intel 176128 0 pata_acpi 12288 0 ip_tables 20480 0 x_tables 24576 1 ip_tables $ lspci -v 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: fast devsel 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] Subsystem: Red Hat, Inc. Qemu virtual machine Flags: medium devsel 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [ISA Compatibility mode-only controller , supports bus mastering]) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: bus master, medium devsel, latency 0 Memory at 000001f0 (32-bit, non-prefetchable) [virtual] [size=8] Memory at 000003f0 (type 3, non-prefetchable) [virtual] Memory at 00000170 (32-bit, non-prefetchable) [virtual] [size=8] Memory at 00000370 (type 3, non-prefetchable) [virtual] I/O ports at c0e0 [virtual] [size=16] Kernel driver in use: ata_piix Kernel modules: pata_acpi 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) Subsystem: Red Hat, Inc. Qemu virtual machine Flags: medium devsel, IRQ 9 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA controller]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: fast devsel Memory at fc000000 (32-bit, prefetchable) [size=32M] Memory at feb90000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at 000c0000 [disabled] [size=128K] 00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device Subsystem: Red Hat, Inc. Virtio network device Physical Slot: 3 Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c040 [size=32] Memory at feb91000 (32-bit, non-prefetchable) [size=4K] Memory at fe010000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb00000 [disabled] [size=512K] Capabilities: [98] MSI-X: Enable- Count=3 Masked- Capabilities: [84] Vendor Specific Information: VirtIO: <unknown> Capabilities: [70] Vendor Specific Information: VirtIO: Notify Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg Capabilities: [50] Vendor Specific Information: VirtIO: ISR Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg Kernel driver in use: virtio-pci 00:04.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c060 [size=32] 00:04.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c080 [size=32] 00:04.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c0a0 [size=32] 00:04.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at feb92000 (32-bit, non-prefetchable) [size=4K] 00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device Subsystem: Red Hat, Inc. Virtio block device Physical Slot: 5 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c000 [size=64] Memory at feb93000 (32-bit, non-prefetchable) [size=4K] Memory at fe014000 (64-bit, prefetchable) [size=16K] Capabilities: [98] MSI-X: Enable- Count=2 Masked- Capabilities: [84] Vendor Specific Information: VirtIO: <unknown> Capabilities: [70] Vendor Specific Information: VirtIO: Notify Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg Capabilities: [50] Vendor Specific Information: VirtIO: ISR Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg Kernel driver in use: virtio-pci 00:06.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02) Subsystem: Intel Corporation Ethernet Virtual Function 700 Series Physical Slot: 6 Flags: fast devsel Memory at fe000000 (64-bit, prefetchable) [size=64K] Memory at fe018000 (64-bit, prefetchable) [size=16K] Capabilities: [70] MSI-X: Enable- Count=5 Masked- Capabilities: [a0] Express Endpoint, MSI 00 00:07.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon Subsystem: Red Hat, Inc. Virtio memory balloon Physical Slot: 7 Flags: bus master, fast devsel, latency 0, IRQ 11 I/O ports at c0c0 [size=32] Memory at fe01c000 (64-bit, prefetchable) [size=16K] Capabilities: [84] Vendor Specific Information: VirtIO: <unknown> Capabilities: [70] Vendor Specific Information: VirtIO: Notify Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg Capabilities: [50] Vendor Specific Information: VirtIO: ISR Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg Kernel driver in use: virtio-pci ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: qemu (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892422 Title: Pci passthrough interface not showing up in Ubuntu 20.04 but does show in 18.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1892422/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs