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)
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
** Attachment added: "Qemu_win7_log.txt"
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1276719/+attachment/4174656/+files/Qemu_win7_log.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276719
Title:
apparmor denies VFIO passthrough: RLIMIT_MEMLOCK and /dev/vfio/XX
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1276719/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs