Thanks for bringing the laptop.

We took a look.  After installing qemu-kvm and libvirt (and virt-
manager) /dev/kvm has the right permissions and ownership.  User ubuntu
is able to run kvm.  However when doing

    sudo -u libvirt-qemu strace -f -o/tmp/outout kvm -vnc :1

you see that when it tries to open /dev/kvm it gets -EACCESS.

Doing 'rmmod kvm_intel kvm; modprobe kvm_intel' results in /dev/kvm
being created with the exact same owner/perms as before,  but now
libvirt-qemu is able to open the device.

I did not think to look at the acls.

** Changed in: qemu-kvm (Ubuntu)
       Status: Incomplete => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1057024

Title:
  kvm kernel module always loaded, without setting /dev/kvm permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1057024/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to