Bug 735476

Summary: qemu-kvm fails cannot find /dev/kvm
Product: [Fedora] Fedora Reporter: solanum <omalley_s>
Component: qemuAssignee: Justin M. Forbes <jforbes>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: amit.shah, berrange, dougsland, dwmw2, ehabkost, gcosta, itamar, jaswinder, jforbes, knoel, scottt.tw, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-02 20:40:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description solanum 2011-09-02 18:11:54 UTC
Description of problem:
You can't run kvm.. 

[root@oinik kvm]# qemu-kvm
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
No accelerator found!
[root@oinik kvm]# 

...
open("/dev/kvm", O_RDWR|O_CLOEXEC)      = -1 ENOENT (No such file or directory)
write(2, "Could not access KVM kernel modu"..., 62Could not access KVM kernel module: No such file or directory
....


The kvm kernel module appears to be loaded, but the dev file isn't there. 
i tried insmod and modprobe with no errors. and i dont see the kvm device anywhere in /sys either. 

This is happening with the  3.0.0-1.fc16.x86_64 and rc4 kernel. 

This is an intel sandy bridge2 processor with efi. But i don't think that is the issue.

Comment 1 solanum 2011-09-02 18:44:56 UTC
You can close this. The virtualization extensions on my machine were disabled at some point.