You are not logged in.

#1 2022-10-28 04:50:04

A2C2A
Member
Registered: 2021-05-04
Posts: 3

[SOLVED] PCI passthrough problem

Hello. I am trying to passthrough a video card into a virtual machine as described on this page: PCI passthrough via OVMF. Everything seems to be fine, the video card is in a separate iommu group, its driver is vfio-pci, but when I start the virtual machine, the following error:

2022-10-27T17:33:10.984668Z qemu-system-x86_64: -device {"driver": "vfio-pci", "host": "0000:09:00.0", "id": "hostdev0", "bus": "pci.6 ", "addr": "0x0"}: vfio 0000:09:00.0: failed to setup container for group 34: Failed to set group container: Operation not permitted.

I couldn't find any information on this issue on the internet and I don't know what exactly goes wrong. I would be grateful for help...

Last edited by A2C2A (2022-10-28 08:01:01)

Offline

#2 2022-10-28 08:00:16

A2C2A
Member
Registered: 2021-05-04
Posts: 3

Re: [SOLVED] PCI passthrough problem

I built a kernel with this patch and now everything works.

Offline

Board footer

Powered by FluxBB