Re: Not able to add pcie card to guest: Operation not permitted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 24 Apr 2020 at 21:10, Mauricio Tavares <raubvogel@xxxxxxxxx> wrote:
Let's say I have libvirt

[root@vmhost2 ~]# virsh version
[...]
Running hypervisor: QEMU 2.12.0
[root@vmhost2 ~]#
[...]
When I try to start the guest I get the following error message:

[root@vmhost2 ~]# virsh start testfedora
error: Failed to start domain testfedora
error: internal error: qemu unexpectedly closed the monitor:
2020-04-24T20:01:35.341020Z qemu-kvm: -device
vfio-pci,host=01:00.0,id=hostdev0,bus=pci.8,addr=0x0: vfio error:
0000:01:00.0: failed to setup INTx fd: Operation not permitted

[root@vmhost2 ~]#

Why is it telling me that is not permitted?

The guest will be running as qemu on the host.  Does qemu have appropriate permissions in the host, and does that include in any hardening like SElinux that you're running?

Cheers,

- Peter
 

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux