In the syslog i do not see any DENIED log. I think apparmor in complain mode for libvirt for tests that i did earlier. I will check this.
I added the output in attachment and added also the qemu log for this VM. There i see 2 different messages. By the first attempt i'll tried to start the vm after a Fresh reboot of the host. By the second attempt i get the permission denied after i runned a small script to do the vfio binding.
#!/bin/bash
modprobe vfio-pci
for dev in "$@"; do vendor=$(cat /sys/bus/pci/devices/$dev/vendor) device=$(cat /sys/bus/pci/devices/$dev/device)
if [ -e /sys/bus/pci/devices/$dev/driver ]; then echo $dev > /sys/bus/pci/devices/$dev/driver/unbind
fi
echo $vendor $device > /sys/bus/pci/drivers/vfio-pci/new_id
done
Hi, the output in attachment.
In the syslog i do not see any DENIED log. I think apparmor in complain mode for libvirt for tests that i did earlier. I will check this.
I added the output in attachment and added also the qemu log for this VM. There i see 2 different messages. By the first attempt i'll tried to start the vm after a Fresh reboot of the host. By the second attempt i get the permission denied after i runned a small script to do the vfio binding.
#!/bin/bash
modprobe vfio-pci
for dev in "$@"; do
vendor= $(cat /sys/bus/ pci/devices/ $dev/vendor)
device= $(cat /sys/bus/ pci/devices/ $dev/device) pci/devices/ $dev/driver ]; then
echo $dev > /sys/bus/ pci/devices/ $dev/driver/ unbind pci/drivers/ vfio-pci/ new_id
if [ -e /sys/bus/
fi
echo $vendor $device > /sys/bus/
done