I have selected "Add Hardware->PCI Host Device" and then selected the only device that is identified as being a Mediatek device and clicked "Finish". When I then started the VM the start failed with the following messages:

Error starting domain: internal error: QEMU unexpectedly closed the monitor
(vm='fedora'):2025-12-31T21:41:39.9034658Z qemu-system-x86_64: -device
{"driver":"vfio- pci","host":"0000:08:00.0","id":"hostdev0","bus":"pci.7","addr":"0x0"}:vfio
0000:08:00.0: group 15 is not viable
Please ensure all devices within the iommu_group are bound to their vfio bus driver.

I did a bit of research on this and it can get a bit complicated.
Do you have an Intel or AMD system?
Hi Samuel, I have an AMD motherboard as I am using an AMD cpu.
Have you enabled all the virtualization and iommu options in the BIOS?
I'm not sure at the moment, I've gone through all the BIOS settings and most of them are set to "Auto", but I'll go through them again to check.
What does the following command give you?
for d in $(ls /sys/kernel/iommu_groups/15/devices/); do lspci -nnvs "$d"; done
I've put the output from that command in the attachment. In that output the device indicated as a Mediatek device is the one I tried to add to the VM which is producing the error.

Without that device the VM boots quite happily, and from what George was showing, the second version of the 6.18 kernel doesn't appear to have support for the chipset that I read was supposed to be being provided in the 6.18 kernel. It may be too early in the kernel release. I've checked the host system and the device that I think is the wifi device, as shown by INXI has bus-ID 08:00.0 which is the bus address shown in the message above, so I believe I have selected the correct device. The only thing I can think of is QEMU is expecting the host to have provided a driver for that device which in the current kernels doesn't exist, and, if that is the case that defeats the purpose of the test I'm trying to do which is check if the 6.18 kernel is going to provide a driver. Am I looking  at things incorrectly?

The driver might not be available yet:
https://marc.info/?l=linux-wireless&m=176721477530840&w=2

I've looked at that thread and that person is using a later version of the kernel to what I see available and as the thread says the driver isn't available yet. What I also found interesting is the ID of Steve's device is 14c3:7927, whereas my device ID is 14c3:6639, so maybe my device is not using the MT7927 chipset but an MT6639 chipset which also seems to be not supported in the current kernels?
I'll try using my usb dongle I have and see if that works now.

regards,
03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 34, IOMMU group 15
        Bus: primary=03, secondary=05, subordinate=0e, sec-latency=0
        I/O behind bridge: e000-efff [size=4K] [16-bit]
        Memory behind bridge: f2000000-f27fffff [size=8M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

05:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Upstream Port [1022:43f4] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 15
        Bus: primary=05, secondary=06, subordinate=0e, sec-latency=0
        I/O behind bridge: e000-efff [size=4K] [16-bit]
        Memory behind bridge: f2000000-f27fffff [size=8M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 15
        Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 15
        Bus: primary=06, secondary=08, subordinate=08, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: f2000000-f22fffff [size=3M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 15
        Bus: primary=06, secondary=09, subordinate=09, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 15
        Bus: primary=06, secondary=0a, subordinate=0a, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: f2300000-f24fffff [size=2M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 15
        Bus: primary=06, secondary=0b, subordinate=0b, sec-latency=0
        I/O behind bridge: e000-efff [size=4K] [16-bit]
        Memory behind bridge: f2500000-f25fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 15
        Bus: primary=06, secondary=0c, subordinate=0c, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 15
        Bus: primary=06, secondary=0d, subordinate=0d, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: f2600000-f26fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

06:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01) (prog-if 00 [Normal 
decode])
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 15
        Bus: primary=06, secondary=0e, subordinate=0e, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: f2700000-f27fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

08:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:6639]
        Subsystem: AzureWave Device [1a3b:5920]
        Flags: fast devsel, IRQ 15, IOMMU group 15
        Memory at f2000000 (64-bit, non-prefetchable) [disabled] [size=2M]
        Memory at f2200000 (64-bit, non-prefetchable) [disabled] [size=32K]
        Capabilities: <access denied>

0a:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller 
I226-V [8086:125c] (rev 04)
        DeviceName: Realtek 8126 5G LAN
        Subsystem: ASUSTeK Computer Inc. Device [1043:8867]
        Flags: bus master, fast devsel, latency 0, IRQ 25, IOMMU group 15
        Memory at f2300000 (32-bit, non-prefetchable) [size=1M]
        Memory at f2400000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: igc
        Kernel modules: igc

0b:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8126 
5GbE Controller [10ec:8126] (rev 01)
        Subsystem: ASUSTeK Computer Inc. Device [1043:88e0]
        Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 15
        I/O ports at e000 [size=256]
        Memory at f2500000 (64-bit, non-prefetchable) [size=64K]
        Memory at f2510000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

0d:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 800 Series 
Chipset USB 3.x XHCI Controller [1022:43fd] (rev 01) (prog-if 30 [XHCI])
        Subsystem: ASMedia Technology Inc. Device [1b21:1142]
        Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 15
        Memory at f2600000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

0e:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 600 Series 
Chipset SATA Controller [1022:43f6] (rev 01) (prog-if 01 [AHCI 1.0])
        Subsystem: ASMedia Technology Inc. Device [1b21:1062]
        Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 15
        Memory at f2780000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at f2700000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Stephen Morris
EMAIL;PREF=1;TYPE=home:[email protected]
END:VCARD
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to