Bug 911640 - KVM module denies access after installation until reboot or reload
Summary: KVM module denies access after installation until reboot or reload
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-15 14:17 UTC by Martin Kletzander
Modified: 2013-07-24 18:54 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 911644 (view as bug list)
Environment:
Last Closed: 2013-07-24 18:54:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Kletzander 2013-02-15 14:17:29 UTC
Description of problem:
After fresh installation, qemu, libvirt and others are unable to access /dev/kvm even though the permissions are correct, even when you change them to anything else and even when trying as root.  This problem goes away after reboot or after running 'rmmod kvm; modprobe kvm'.  Apparently, this happens only on some hardware, but on such hardware it should be 100% reproducible.

This has appeared in bug 877436, bug 911346 and once it happened on a machine (X230) in our office.

Version-Release number of selected component (if applicable):
Released F18 x86_64 DVD and others (see bugs mentioned above).

How reproducible:
HW-dependant (probably)

Steps to Reproduce:
1. Perform a fresh install of the system
2. Try open()-ing /dev/kvm or running a KVM virtual machine or check 'virsh capabilities' for '<capabilities><guest><os_type>hvm</os_type>'
3. Reboot or reload the kvm module
4. Repeat step 2 and check the difference
  
Actual results:
First time you'll get permission denied and second time it will work.

Expected results:
It works first time as well.

Comment 1 Josh Boyer 2013-07-03 16:50:09 UTC
Are you still seeing this with the 3.9 or 3.10 kernels?  If so, can you please attach the output of dmesg?

Comment 2 Josh Boyer 2013-07-24 18:54:57 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.