Can't launch VMs from virt-manager or virsh: Could not access KVM kernel module: Permission denied

Bug #1123998 reported by Iain Lane on 2013-02-13
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Undecided
Unassigned

Bug Description

Since today's qemu updates

laney@raleigh> apt-cache policy qemu ~
qemu:
  Installed: 1.3.0+dfsg-5expubuntu2
  Candidate: 1.3.0+dfsg-5expubuntu2
  Version table:
 *** 1.3.0+dfsg-5expubuntu2 0
        500 http://sherwood.local/ubuntu/ raring/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.2.0+noroms-0ubuntu2 0
        500 http://sherwood.local/ubuntu/ quantal/universe amd64 Packages

I get

laney@raleigh> virsh
Welcome to virsh, the virtualisation interactive terminal.

Type: 'help' for help with commands
       'quit' to quit

virsh # start raring-vm
error: Failed to start domain raring-vm
error: internal error process exited while connecting to monitor: W: kvm binary is deprecated, please use qemu-system-x86_64 instead
char device redirected to /dev/pts/13
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
No accelerator found!

virsh #

and the same with virt-manager.

laney@raleigh> getfacl /dev/kvm
getfacl: Removing leading '/' from absolute path names
# file: dev/kvm
# owner: root
# group: root
user::rw-
user:laney:rw-
group::rw-
mask::rw-
other::---

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qemu 1.3.0+dfsg-5expubuntu2
ProcVersionSignature: Ubuntu 3.8.0-6.11-generic 3.8.0-rc7
Uname: Linux 3.8.0-6-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Wed Feb 13 11:03:24 2013
InstallationDate: Installed on 2012-10-07 (128 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
MarkForUpload: True
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)

Iain Lane (laney) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qemu (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers