Not OP, but having the same problem with USB add-in card not using vfio-pci driver.
The issue is when I try to start the VM, I get error:
Error starting domain: internal error: qemu unexpectedly closed the monitor: 2021-09-18T03:21:47.613347Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0]
2021-09-18T03:21:47.613357Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]
2021-09-18T03:21:47.613865Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0]
2021-09-18T03:21:47.613874Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]
2021-09-18T03:21:49.977777Z qemu-system-x86_64: -device vfio-pci,host=0000:07:00.0,id=hostdev5,bus=pci.10,addr=0x0: vfio 0000:07:00.0: group 14 is not viable
Please ensure all devices within the iommu_group are bound to their vfio bus driver.
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1329, in startup
self._backend.create()
File "/usr/lib64/python3.9/site-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2021-09-18T03:21:47.613347Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0]
2021-09-18T03:21:47.613357Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]
2021-09-18T03:21:47.613865Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0]
2021-09-18T03:21:47.613874Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]
2021-09-18T03:21:49.977777Z qemu-system-x86_64: -device vfio-pci,host=0000:07:00.0,id=hostdev5,bus=pci.10,addr=0x0: vfio 0000:07:00.0: group 14 is not viable
Please ensure all devices within the iommu_group are bound to their vfio bus driver.
I do have vfio-pci driver override for this device:
cat /sys/bus/pci/devices/0000\:07\:00.0/driver_override
vfio-pci
But my device is not using vfio-pci driver:
07:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] (prog-if 30 [XHCI])
Subsystem: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
Flags: bus master, fast devsel, latency 0, IRQ 58, IOMMU group 14
Memory at d9400000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [200] Advanced Error Reporting
Capabilities: [280] Secondary PCI Express
Capabilities: [300] Latency Tolerance Reporting
Kernel driver in use: xhci_hcd
That being said, from the error message, my problem has more to do with IOMMU group. Not sure what to do next…I can move the card to another slot, but no guarantee that will fix it. I also want to install a sound card in that only spare slot left, so honestly I’d like to know if there is a way to solve that